summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-24 19:25:24 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-24 19:25:24 +0000
commit61a401caecce1eec51813647cb34d781e242a621 (patch)
treec1c7793f56f68b7fed96c74b8deb09de3edff618 /clang/lib/CodeGen/CGDecl.cpp
parent2db411f5a77e6f18ad14f234227b3484099a8a96 (diff)
downloadbcm5719-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/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 23af59c2b42..602cc9efc7a 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -643,7 +643,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
Args.push_back(std::make_pair(RValue::get(Builder.CreateBitCast(DeclPtr,
ConvertType(ArgTy))),
getContext().getPointerType(D.getType())));
- EmitCall(Info, F, Args);
+ EmitCall(Info, F, ReturnValueSlot(), Args);
}
if (Exceptions) {
EHCleanupBlock Cleanup(*this);
@@ -652,7 +652,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
Args.push_back(std::make_pair(RValue::get(Builder.CreateBitCast(DeclPtr,
ConvertType(ArgTy))),
getContext().getPointerType(D.getType())));
- EmitCall(Info, F, Args);
+ EmitCall(Info, F, ReturnValueSlot(), Args);
}
}
OpenPOWER on IntegriCloud