From: Fariborz Jahanian Date: Wed, 17 Feb 2010 18:11:55 +0000 (+0000) Subject: Did not intend to check this in. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d04e83ee5dc01c52fc6b0218ddcbdc520746abc;p=clang Did not intend to check this in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96486 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index 26374af03a..46b62441d6 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/lib/CodeGen/CGBlocks.cpp @@ -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.