[cfe-commits] r137132 - /cfe/trunk/lib/CodeGen/CGVTables.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Aug 9 11:16:09 PDT 2011
Author: efriedma
Date: Tue Aug 9 13:16:09 2011
New Revision: 137132
URL: http://llvm.org/viewvc/llvm-project?rev=137132&view=rev
Log:
Revert bad change. (It may look equivalent, but it isn't.)
Modified:
cfe/trunk/lib/CodeGen/CGVTables.cpp
Modified: cfe/trunk/lib/CodeGen/CGVTables.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVTables.cpp?rev=137132&r1=137131&r2=137132&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGVTables.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVTables.cpp Tue Aug 9 13:16:09 2011
@@ -2818,7 +2818,7 @@
#ifndef NDEBUG
const CGFunctionInfo &CallFnInfo =
- CGM.getTypes().getFunctionInfo(CallArgs, FPT);
+ CGM.getTypes().getFunctionInfo(ResultType, CallArgs, FPT->getExtInfo());
assert(CallFnInfo.getRegParm() == FnInfo.getRegParm() &&
CallFnInfo.isNoReturn() == FnInfo.isNoReturn() &&
CallFnInfo.getCallingConvention() == FnInfo.getCallingConvention());
More information about the cfe-commits
mailing list