mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
fix bind for @dynamicCompileEmit
This commit is contained in:
parent
9386295f91
commit
355b4cb46b
3 changed files with 6 additions and 5 deletions
|
@ -117,7 +117,9 @@ GlobalValsMap createGlobalValsFilter(IRState *irs) {
|
|||
newFunctions.reserve(irs->dynamicCompiledFunctions.size());
|
||||
|
||||
for (auto &&it : irs->dynamicCompiledFunctions) {
|
||||
ret.insert({it.first, GlobalValVisibility::External});
|
||||
auto vis = (it.second.thunkVar != nullptr ? GlobalValVisibility::External
|
||||
: GlobalValVisibility::Internal);
|
||||
ret.insert({it.first, vis});
|
||||
newFunctions.push_back(it.first);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue