diff options
author | Mike Stump <mrs@apple.com> | 2009-03-20 21:53:12 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-03-20 21:53:12 +0000 |
commit | 6cc88f78fd36d3511b89412b193494b3e423cbff (patch) | |
tree | 1e15a06b97d146a052973e948b20e6ebe778c5b1 /lib/CodeGen/CGDecl.cpp | |
parent | 082d936a5b8323ac2c04558d8bca277a647831a3 (diff) |
Fix codegen for support for super inside block literal expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 6646365b45..eb2fe4f502 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -89,10 +89,6 @@ CodeGenFunction::CreateStaticBlockVarDecl(const VarDecl &D, else if (isa<ObjCMethodDecl>(CurFuncDecl)) ContextName = std::string(CurFn->getNameStart(), CurFn->getNameStart() + CurFn->getNameLen()); - else if (isa<BlockDecl>(CurFuncDecl)) - // FIXME: We want to traverse up and pick a name based upon where we came - // from. - ContextName = "block"; else assert(0 && "Unknown context for block var decl"); |