aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-02-16 00:49:34 +0000
committerJohn McCall <rjmccall@apple.com>2011-02-16 00:49:34 +0000
commitc20e20498e3d248c754c7c5c8d0277f444d584df (patch)
treec4a5b22d660ed873bfdb76c7077b4e7d09117a3e /lib/CodeGen/CGBlocks.h
parent98d810ee83d4c4bf5d89bbb43829533b84b20ecf (diff)
Don't call objc_read_weak as part of emitting a block literal.
Nobody ever gave me a clear reason for why we were doing this, and now it's apparently causing serious problems, so if *not* having this causes problems, we get to solve them the right way this time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.h')
-rw-r--r--lib/CodeGen/CGBlocks.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/CGBlocks.h b/lib/CodeGen/CGBlocks.h
index a2a1cdfdf6..bee729dcce 100644
--- a/lib/CodeGen/CGBlocks.h
+++ b/lib/CodeGen/CGBlocks.h
@@ -173,9 +173,6 @@ public:
/// need to be run even in GC mode.
bool HasCXXObject : 1;
- /// HasWeakBlockVariable - True if block captures a weak __block variable.
- bool HasWeakBlockVariable : 1;
-
const llvm::StructType *StructureType;
const BlockExpr *Block;
CharUnits BlockSize;