parent
99f3dc6798
commit
6cbd4430cc
File diff suppressed because it is too large
Load Diff
|
@ -360,7 +360,7 @@
|
|||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
#line 980 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
#line 981 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
{
|
||||
llvm::Module *ModuleVal;
|
||||
llvm::Function *FunctionVal;
|
||||
|
|
|
@ -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