diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 18:16:09 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 18:16:09 +0000 |
commit | 03f486168fa69c46f1ffd651bd0819b0ea5d0409 (patch) | |
tree | 08760b580299415afcdbc39aadf9862a8553908a /lib/CodeGen/CGVTables.cpp | |
parent | b51e0315d4ffd12670441ea2284ae1188485df14 (diff) |
Revert bad change. (It may look equivalent, but it isn't.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
-rw-r--r-- | lib/CodeGen/CGVTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVTables.cpp b/lib/CodeGen/CGVTables.cpp index 7c93df514a..b71145fbed 100644 --- a/lib/CodeGen/CGVTables.cpp +++ b/lib/CodeGen/CGVTables.cpp @@ -2818,7 +2818,7 @@ void CodeGenFunction::GenerateThunk(llvm::Function *Fn, #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()); |