summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-04-12 00:35:04 +0000
committerEric Christopher <echristo@apple.com>2012-04-12 00:35:04 +0000
commit56ef374611783d1a215160ee50edb598c65bee00 (patch)
treef3e805bc6591f098b8cedd08361ca585f9871b1d /clang/lib
parent26a6d498ee5f2c3e592328128a9fb74db87531cc (diff)
downloadbcm5719-llvm-56ef374611783d1a215160ee50edb598c65bee00.tar.gz
bcm5719-llvm-56ef374611783d1a215160ee50edb598c65bee00.zip
The copy and destroy helper functions aren't prototyped, don't call them
so. llvm-svn: 154569
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGBlocks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 09d3125ce81..b19b696eae2 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/lib/CodeGen/CGBlocks.cpp
@@ -1208,7 +1208,7 @@ CodeGenFunction::GenerateCopyHelperFunction(const CGBlockInfo &blockInfo) {
SC_Static,
SC_None,
false,
- true);
+ false);
StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation());
llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo();
@@ -1323,7 +1323,7 @@ CodeGenFunction::GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo) {
SourceLocation(), II, C.VoidTy, 0,
SC_Static,
SC_None,
- false, true);
+ false, false);
StartFunction(FD, C.VoidTy, Fn, FI, args, SourceLocation());
llvm::Type *structPtrTy = blockInfo.StructureType->getPointerTo();
OpenPOWER on IntegriCloud