diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index c38171a5f5..3d14aed4bd 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -175,6 +175,12 @@ public: RValue EmitAnyExpr(const Expr *E, llvm::Value *AggLoc = 0, bool isAggLocVolatile = false); + /// EmitAnyExprToTemp - Similary to EmitAnyExpr(), however, the result + /// will always be accessible even if no aggregate location is + /// provided. + RValue EmitAnyExprToTemp(const Expr *E, llvm::Value *AggLoc = 0, + bool isAggLocVolatile = false); + /// isDummyBlock - Return true if BB is an empty basic block /// with no predecessors. static bool isDummyBlock(const llvm::BasicBlock *BB); @@ -308,14 +314,6 @@ public: // Scalar Expression Emission //===--------------------------------------------------------------------===// - /// EmitCallArg - Emit the given expression and append the result - /// onto the given Args list. - void EmitCallArg(const Expr *E, CallArgList &Args); - - /// EmitCallArg - Append the appropriate call argument for the given - /// rvalue and type onto the Args list. - void EmitCallArg(RValue RV, QualType Ty, CallArgList &Args); - /// EmitCall - Generate a call of the given function, expecting the /// given result type, and using the given argument list which /// specifies both the LLVM arguments and the types they were |