forked from OSchip/llvm-project
parent
6f6e4e94be
commit
99f3dc6798
|
@ -140,6 +140,7 @@ static struct PerModuleInfo {
|
|||
GlobalValue *Ret = 0;
|
||||
if (I != GlobalRefs.end()) {
|
||||
Ret = I->second;
|
||||
I->first.second.destroy();
|
||||
GlobalRefs.erase(I);
|
||||
}
|
||||
return Ret;
|
||||
|
|
Loading…
Reference in New Issue