mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-11 10:25:41 +00:00
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57009 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -360,7 +360,7 @@
|
|||||||
|
|
||||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||||
typedef union YYSTYPE
|
typedef union YYSTYPE
|
||||||
#line 970 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
#line 974 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||||
{
|
{
|
||||||
llvm::Module *ModuleVal;
|
llvm::Module *ModuleVal;
|
||||||
llvm::Function *FunctionVal;
|
llvm::Function *FunctionVal;
|
||||||
|
@@ -707,6 +707,7 @@ static void ResolveTypeTo(std::string *Name, const Type *ToTy) {
|
|||||||
((DerivedType*)I->second.get())->refineAbstractTypeTo(ToTy);
|
((DerivedType*)I->second.get())->refineAbstractTypeTo(ToTy);
|
||||||
CurModule.LateResolveTypes.erase(I);
|
CurModule.LateResolveTypes.erase(I);
|
||||||
}
|
}
|
||||||
|
D.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
// setValueName - Set the specified value to the name given. The name may be
|
// setValueName - Set the specified value to the name given. The name may be
|
||||||
@@ -782,9 +783,12 @@ ParseGlobalVariable(std::string *NameStr,
|
|||||||
GV->setConstant(isConstantGlobal);
|
GV->setConstant(isConstantGlobal);
|
||||||
GV->setThreadLocal(IsThreadLocal);
|
GV->setThreadLocal(IsThreadLocal);
|
||||||
InsertValue(GV, CurModule.Values);
|
InsertValue(GV, CurModule.Values);
|
||||||
|
ID.destroy();
|
||||||
return GV;
|
return GV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ID.destroy();
|
||||||
|
|
||||||
// If this global has a name
|
// If this global has a name
|
||||||
if (!Name.empty()) {
|
if (!Name.empty()) {
|
||||||
// if the global we're parsing has an initializer (is a definition) and
|
// if the global we're parsing has an initializer (is a definition) and
|
||||||
|
Reference in New Issue
Block a user