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
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index ad96d2e..f6081c6 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/lib/CodeGen/CGExpr.cpp
@@ -1137,8 +1137,8 @@
}
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 @@
}
-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() &&