diff options
author | John McCall <rjmccall@apple.com> | 2011-03-09 08:39:33 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-03-09 08:39:33 +0000 |
commit | 85915250c0f43e523f929af9a8bf8c6ed807fe31 (patch) | |
tree | 8cbb1656db1b344cc011c4d7391377103e522623 /clang/lib/CodeGen/CGBlocks.h | |
parent | 774647d97448b34f38bb5ab57d032782b6234baf (diff) | |
download | bcm5719-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.h | 4 |
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; |