aboutsummaryrefslogtreecommitdiff
path: root/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
commita8b60c9bd8e992bed2096aa2c9982c3045e8247c (patch)
tree7eb8b38c3399371e6fcf39b2025a6f12965694da /lib/CodeGen/CGDecl.cpp
parent08457737b60ba2e7f58ecf3062010843268fc6ea (diff)
Fixup codegen for nested block literals so that we generate
copy_helpers and dispose_helpers as necessary for them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r--lib/CodeGen/CGDecl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp
index eb2fe4f502..8a4febeecf 100644
--- a/lib/CodeGen/CGDecl.cpp
+++ b/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()) {