summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
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
commit586ca163b43b0d5aea00ccb96cdcf1c1d30f17fd (patch)
tree41eee612e1ac67003a659d1107c5d49f47c24979 /clang/lib/CodeGen
parent69346eb94ff6b3ce96137662e68dd1e97f8c9e26 (diff)
downloadbcm5719-llvm-586ca163b43b0d5aea00ccb96cdcf1c1d30f17fd.tar.gz
bcm5719-llvm-586ca163b43b0d5aea00ccb96cdcf1c1d30f17fd.zip
Did not intend to check this in.
llvm-svn: 96486
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGBlocks.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp
index 26374af03a9..46b62441d6e 100644
--- a/clang/lib/CodeGen/CGBlocks.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud