[cfe-commits] r134855 - in /cfe/trunk/lib/CodeGen: CGCall.cpp CodeGenTypes.cpp
Chris Lattner
sabre at nondot.org
Sat Jul 9 18:10:18 PDT 2011
Author: lattner
Date: Sat Jul 9 20:10:18 2011
New Revision: 134855
URL: http://llvm.org/viewvc/llvm-project?rev=134855&view=rev
Log:
how about we initialize RecursionState.
Modified:
cfe/trunk/lib/CodeGen/CGCall.cpp
cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=134855&r1=134854&r2=134855&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Sat Jul 9 20:10:18 2011
@@ -252,8 +252,7 @@
// 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);
Modified: cfe/trunk/lib/CodeGen/CodeGenTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenTypes.cpp?rev=134855&r1=134854&r2=134855&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenTypes.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenTypes.cpp Sat Jul 9 20:10:18 2011
@@ -31,6 +31,7 @@
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() {
More information about the cfe-commits
mailing list