summaryrefslogtreecommitdiffstats
path: root/clang/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
commit7633cbf005da7f40bf203630f0acc97483b7dfb0 (patch)
tree427a8d2a0345458f4f68ed89bab7541615a384b6 /clang/lib/CodeGen/CGExpr.cpp
parent0e8fc3c773e20c66e8fd11284c5d2c9c3278afee (diff)
downloadbcm5719-llvm-7633cbf005da7f40bf203630f0acc97483b7dfb0.tar.gz
bcm5719-llvm-7633cbf005da7f40bf203630f0acc97483b7dfb0.zip
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. llvm-svn: 63550
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 726755dc84c..0e13a8ddcd6 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud