diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-24 19:25:24 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-24 19:25:24 +0000 |
commit | 61a401caecce1eec51813647cb34d781e242a621 (patch) | |
tree | c1c7793f56f68b7fed96c74b8deb09de3edff618 /clang/lib/CodeGen/CGBlocks.cpp | |
parent | 2db411f5a77e6f18ad14f234227b3484099a8a96 (diff) | |
download | bcm5719-llvm-61a401caecce1eec51813647cb34d781e242a621.tar.gz bcm5719-llvm-61a401caecce1eec51813647cb34d781e242a621.zip |
Pass ReturnValueSlot to EmitCall. No functionality change yet.
llvm-svn: 92138
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index 9e44db0aa0a..2270f84b5be 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -509,7 +509,7 @@ RValue CodeGenFunction::EmitBlockCallExpr(const CallExpr* E) { Func = Builder.CreateBitCast(Func, BlockFTyPtr); // And call the block. - return EmitCall(FnInfo, Func, Args); + return EmitCall(FnInfo, Func, ReturnValueSlot(), Args); } uint64_t CodeGenFunction::AllocateBlockDecl(const BlockDeclRefExpr *E) { |