forked from OSchip/llvm-project
parent
48e9028000
commit
bb683f953e
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 977 "/Users/sabre/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
#line 978 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||
{
|
||||
llvm::Module *ModuleVal;
|
||||
llvm::Function *FunctionVal;
|
||||
|
@ -408,7 +408,7 @@ typedef union YYSTYPE
|
|||
llvm::ICmpInst::Predicate IPredicate;
|
||||
llvm::FCmpInst::Predicate FPredicate;
|
||||
}
|
||||
/* Line 1529 of yacc.c. */
|
||||
/* Line 1489 of yacc.c. */
|
||||
#line 413 "llvmAsmParser.tab.h"
|
||||
YYSTYPE;
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
|
|
|
@ -708,6 +708,7 @@ static void ResolveTypeTo(std::string *Name, const Type *ToTy) {
|
|||
CurModule.LateResolveTypes.find(D);
|
||||
if (I != CurModule.LateResolveTypes.end()) {
|
||||
((DerivedType*)I->second.get())->refineAbstractTypeTo(ToTy);
|
||||
I->first.destroy();
|
||||
CurModule.LateResolveTypes.erase(I);
|
||||
}
|
||||
D.destroy();
|
||||
|
|
Loading…
Reference in New Issue