From 7fe9cc1dd538f1ea414e99a2efd891ffec086ea1 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 21 Oct 2009 03:49:08 +0000 Subject: 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 --- clang/lib/CodeGen/CGBlocks.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'clang/lib/CodeGen/CGBlocks.h') 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 ByCopyDeclRefs; - - // ByRefDeclRefs - __block variables from parent scopes that have been - // imported into this block. - llvm::SmallVector ByRefDeclRefs; + llvm::SmallVector DeclRefs; BlockInfo(const llvm::Type *blt, const char *n) : BlockLiteralTy(blt), Name(n) { -- cgit v1.2.3