summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-24 20:40:36 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-24 20:40:36 +0000
commit1749083e2ef69b62de1486465d6336f82a5d86c5 (patch)
tree621ef67d068d981b07d96961e97f9bdcb034478c /clang/lib/CodeGen/CodeGenFunction.h
parent4b654415981d07824ad8793abd039dcfdb9e6270 (diff)
downloadbcm5719-llvm-1749083e2ef69b62de1486465d6336f82a5d86c5.tar.gz
bcm5719-llvm-1749083e2ef69b62de1486465d6336f82a5d86c5.zip
Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us halfway towards fixing PR5824.
llvm-svn: 92142
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index b530a919ef3..487a797b724 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1041,10 +1041,12 @@ public:
const Decl *TargetDecl = 0);
RValue EmitCall(QualType FnType, llvm::Value *Callee,
+ ReturnValueSlot ReturnValue,
CallExpr::const_arg_iterator ArgBeg,
CallExpr::const_arg_iterator ArgEnd,
const Decl *TargetDecl = 0);
- RValue EmitCallExpr(const CallExpr *E);
+ RValue EmitCallExpr(const CallExpr *E,
+ ReturnValueSlot ReturnValue = ReturnValueSlot());
llvm::Value *BuildVirtualCall(const CXXMethodDecl *MD, llvm::Value *This,
const llvm::Type *Ty);
OpenPOWER on IntegriCloud