summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-10-21 03:49:08 +0000
committerMike Stump <mrs@apple.com>2009-10-21 03:49:08 +0000
commit7fe9cc1dd538f1ea414e99a2efd891ffec086ea1 (patch)
tree72bf386f088145db4184406733a0eb49a8bfdaca /clang/lib/CodeGen/CGBlocks.h
parentb8794354938ac202c2263c19ff5b342006e5398a (diff)
downloadbcm5719-llvm-7fe9cc1dd538f1ea414e99a2efd891ffec086ea1.tar.gz
bcm5719-llvm-7fe9cc1dd538f1ea414e99a2efd891ffec086ea1.zip
Prep work to always preallocate BlockDeclRefExprs so that we can
generate the debug information for the first parameter to the block invoke functions. WIP. llvm-svn: 84737
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index 3a860c0d3c3..48807af2094 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -165,11 +165,7 @@ public:
/// ByCopyDeclRefs - Variables from parent scopes that have been imported
/// into this block.
- llvm::SmallVector<const BlockDeclRefExpr *, 8> ByCopyDeclRefs;
-
- // ByRefDeclRefs - __block variables from parent scopes that have been
- // imported into this block.
- llvm::SmallVector<const BlockDeclRefExpr *, 8> ByRefDeclRefs;
+ llvm::SmallVector<const BlockDeclRefExpr *, 8> DeclRefs;
BlockInfo(const llvm::Type *blt, const char *n)
: BlockLiteralTy(blt), Name(n) {
OpenPOWER on IntegriCloud