mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed 'using static'
This commit is contained in:
parent
41629b49d1
commit
c1a2bd79e1
7 changed files with 74 additions and 36 deletions
|
@ -3205,6 +3205,17 @@ void BfModule::PopulateGlobalContainersList(const BfGlobalLookup& globalLookup)
|
|||
}
|
||||
}
|
||||
|
||||
BfStaticSearch* BfModule::GetStaticSearch()
|
||||
{
|
||||
auto activeTypeDef = GetActiveTypeDef();
|
||||
BfStaticSearch* staticSearch = NULL;
|
||||
if ((mCurTypeInstance != NULL) && (mCurTypeInstance->mStaticSearchMap.TryGetValue(activeTypeDef, &staticSearch)))
|
||||
return staticSearch;
|
||||
if ((mCompiler->mResolvePassData != NULL) && (mCompiler->mResolvePassData->mStaticSearchMap.TryGetValue(activeTypeDef, &staticSearch)))
|
||||
return staticSearch;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void PrintUsers(llvm::MDNode* md);
|
||||
|
||||
BfModuleOptions BfModule::GetModuleOptions()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue