summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-09 08:39:33 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-09 08:39:33 +0000
commit85915250c0f43e523f929af9a8bf8c6ed807fe31 (patch)
tree8cbb1656db1b344cc011c4d7391377103e522623 /clang/lib/CodeGen/CGBlocks.h
parent774647d97448b34f38bb5ab57d032782b6234baf (diff)
downloadbcm5719-llvm-85915250c0f43e523f929af9a8bf8c6ed807fe31.tar.gz
bcm5719-llvm-85915250c0f43e523f929af9a8bf8c6ed807fe31.zip
Remove a rather egregious use of getFunctionInfo.
llvm-svn: 127324
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index 0bc8bcaa14f..9bd18e5fde7 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -173,6 +173,10 @@ public:
/// need to be run even in GC mode.
bool HasCXXObject : 1;
+ /// UsesStret : True if the block uses an stret return. Mutable
+ /// because it gets set later in the block-creation process.
+ mutable bool UsesStret : 1;
+
const llvm::StructType *StructureType;
const BlockExpr *Block;
CharUnits BlockSize;
OpenPOWER on IntegriCloud