diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 22:03:45 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 22:03:45 +0000 |
| commit | 88b5396b0897f28d22ae3debf4a0d97b33b6c362 (patch) | |
| tree | 7838b5a53781e11e09273dad5fdd044b44174b9d /lib/CodeGen/CGExpr.cpp | |
| parent | d671c5a61605ab864768cbbb4feb9cd652609083 (diff) | |
| download | clang-88b5396b0897f28d22ae3debf4a0d97b33b6c362.tar.gz clang-88b5396b0897f28d22ae3debf4a0d97b33b6c362.tar.bz2 clang-88b5396b0897f28d22ae3debf4a0d97b33b6c362.tar.xz | |
More ABI API cleanup.
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and
EmitFunction{Epi,Pro}log.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 0e13a8ddcd..5ed215164b 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, CGFunctionInfo(ResultType, Args), Args); + return EmitCall(CGFunctionInfo(ResultType, Args), Callee, Args); } |
