aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-02-17 18:11:55 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-02-17 18:11:55 +0000
commit1d04e83ee5dc01c52fc6b0218ddcbdc520746abc (patch)
tree72146449663db73bc5c103106e61960148bb60e4 /lib/CodeGen/CGBlocks.cpp
parent2f14c4d18fcba4b4577dbe43016d6d42ef9973cf (diff)
Did not intend to check this in.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r--lib/CodeGen/CGBlocks.cpp2
1 files changed, 0 insertions, 2 deletions
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.