]> granicus.if.org Git - clang/commitdiff
Did not intend to check this in.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 17 Feb 2010 18:11:55 +0000 (18:11 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 17 Feb 2010 18:11:55 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96486 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBlocks.cpp

index 26374af03a9e0f77f8f56da698bf390e94b965c8..46b62441d6e452b7d7158005f140a32864f776f5 100644 (file)
@@ -110,7 +110,6 @@ static bool CanBlockBeGlobal(const CodeGenFunction::BlockInfo &Info) {
 /// invoke function.
 static void AllocateAllBlockDeclRefs(const CodeGenFunction::BlockInfo &Info,
                                      CodeGenFunction *CGF) {
-#if 0
   // Always allocate self, as it is often handy in the debugger, even if there
   // is no codegen in the block that uses it.  This is also useful to always do
   // this as if we didn't, we'd have to figure out all code that uses a self
@@ -123,7 +122,6 @@ static void AllocateAllBlockDeclRefs(const CodeGenFunction::BlockInfo &Info,
                        SelfDecl->getType(), SourceLocation(), false);
     CGF->AllocateBlockDecl(BDRE);
   }
-#endif
 
   // FIXME: Also always forward the this pointer in C++ as well.