summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-21 21:00:35 +0000
committerMike Stump <mrs@apple.com>2009-03-21 21:00:35 +0000
commitefd7caa8257ff25a9cedd19697a18ca388b8e9f2 (patch)
tree9970ce23613e0c757aad1189bf329d2d45ab1ebe /clang/lib/CodeGen/CGDecl.cpp
parent221c9a55785c58d12fcd53cb83a4459383613333 (diff)
downloadbcm5719-llvm-efd7caa8257ff25a9cedd19697a18ca388b8e9f2.tar.gz
bcm5719-llvm-efd7caa8257ff25a9cedd19697a18ca388b8e9f2.zip
Fixup codegen for nested block literals so that we generate
copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index eb2fe4f5020..8a4febeecfb 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -334,8 +334,6 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
int flag = 0;
int flags = 0;
- // The block literal will need a copy/destroy helper.
- BlockHasCopyDispose = true;
needsDispose = true;
if (Ty->isBlockPointerType()) {
OpenPOWER on IntegriCloud