forked from OSchip/llvm-project
parent
6ad5e59492
commit
35bd5be2a2
|
@ -252,8 +252,7 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(CanQualType ResTy,
|
|||
|
||||
// Lookup or create unique function info.
|
||||
llvm::FoldingSetNodeID ID;
|
||||
CGFunctionInfo::Profile(ID, Info, ResTy,
|
||||
ArgTys.begin(), ArgTys.end());
|
||||
CGFunctionInfo::Profile(ID, Info, ResTy, ArgTys.begin(), ArgTys.end());
|
||||
|
||||
void *InsertPos = 0;
|
||||
CGFunctionInfo *FI = FunctionInfos.FindNodeOrInsertPos(ID, InsertPos);
|
||||
|
|
|
@ -31,6 +31,7 @@ CodeGenTypes::CodeGenTypes(ASTContext &Ctx, llvm::Module& M,
|
|||
CGCXXABI &CXXABI, const CodeGenOptions &CGO)
|
||||
: Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD),
|
||||
TheABIInfo(Info), TheCXXABI(CXXABI), CodeGenOpts(CGO) {
|
||||
RecursionState = RS_Normal;
|
||||
}
|
||||
|
||||
CodeGenTypes::~CodeGenTypes() {
|
||||
|
|
Loading…
Reference in New Issue