aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-02 21:43:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-02 21:43:58 +0000
commitbb36d331f439f49859efcfb4435c61762fbba6f9 (patch)
tree3139391810c41d81ca06b776f0fa02aa4623c353 /lib/CodeGen/CGExpr.cpp
parentd863517ab7e936cbc3244a0fc431c8b672f5ece4 (diff)
ABI handling API changes.
- Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index 726755dc84..0e13a8ddcd 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/lib/CodeGen/CGExpr.cpp
@@ -1102,5 +1102,5 @@ RValue CodeGenFunction::EmitCallExpr(llvm::Value *Callee, QualType CalleeType,
Args.push_back(std::make_pair(EmitAnyExprToTemp(*I),
I->getType()));
- return EmitCall(Callee, ResultType, Args);
+ return EmitCall(Callee, CGFunctionInfo(ResultType, Args), Args);
}