aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-26 22:58:05 +0000
committerChris Lattner <sabre@nondot.org>2007-08-26 22:58:05 +0000
commit1e4d21ea5849637c49fd4222b09c4b5dedff7765 (patch)
tree89bb469e2811de951dff81dd66f8103ed061a416 /CodeGen/CodeGenFunction.h
parent660ac121373d416804ea22cc193e2cfcfac1c1b3 (diff)
eliminate EmitAnyExpr, inlining it and simplifying it into its only caller.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r--CodeGen/CodeGenFunction.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h
index 5202085a6d..1af8c79458 100644
--- a/CodeGen/CodeGenFunction.h
+++ b/CodeGen/CodeGenFunction.h
@@ -328,13 +328,8 @@ public:
RValue EmitCompoundAssignmentResult(const CompoundAssignOperator *E,
LValue LHSLV, RValue ResV);
- /// EmitAnyExpr - Emit an expression of any type: scalar, complex, aggregate,
- /// returning an rvalue corresponding to it. If NeedResult is false, the
- /// result of the expression doesn't need to be generated into memory.
- RValue EmitAnyExpr(const Expr *E, bool NeedResult = true);
-
RValue EmitCallExpr(const CallExpr *E);
- RValue EmitBuiltinExpr(unsigned builtinID, const CallExpr *E);
+ RValue EmitBuiltinExpr(unsigned BuiltinID, const CallExpr *E);
llvm::Value *EmitObjCStringLiteral(const ObjCStringLiteral *E);