diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-05-27 01:22:39 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-05-27 01:22:39 +0000 |
| commit | 986477149db76e6d9f8d3c9859c9880c11b680ae (patch) | |
| tree | 415134d688e030dc6c02c1e77891c24ee16dadc9 /lib/CodeGen/CGExpr.cpp | |
| parent | 914bb9dd38f3c8924c30cc3cc5c4ecc3928e82d2 (diff) | |
| download | clang-986477149db76e6d9f8d3c9859c9880c11b680ae.tar.gz clang-986477149db76e6d9f8d3c9859c9880c11b680ae.tar.bz2 clang-986477149db76e6d9f8d3c9859c9880c11b680ae.tar.xz | |
Rename an EmitCallExpr function to EmitCall to make it clear that it doesn't emit an expr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index ad96d2e573..f6081c61f9 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -1137,8 +1137,8 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E) { } llvm::Value *Callee = EmitScalarExpr(E->getCallee()); - return EmitCallExpr(Callee, E->getCallee()->getType(), - E->arg_begin(), E->arg_end(), TargetDecl); + return EmitCall(Callee, E->getCallee()->getType(), + E->arg_begin(), E->arg_end(), TargetDecl); } LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) { @@ -1255,10 +1255,10 @@ LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) { } -RValue CodeGenFunction::EmitCallExpr(llvm::Value *Callee, QualType CalleeType, - CallExpr::const_arg_iterator ArgBeg, - CallExpr::const_arg_iterator ArgEnd, - const Decl *TargetDecl) { +RValue CodeGenFunction::EmitCall(llvm::Value *Callee, QualType CalleeType, + CallExpr::const_arg_iterator ArgBeg, + CallExpr::const_arg_iterator ArgEnd, + const Decl *TargetDecl) { // Get the actual function type. The callee type will always be a // pointer to function type or a block pointer type. assert(CalleeType->isFunctionPointerType() && |
