diff options
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | lib/CodeGen/CGBlocks.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index 8f3e0a6326..b6cd1949cc 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/lib/CodeGen/CGBlocks.cpp @@ -131,13 +131,6 @@ static void CollectBlockDeclRefInfo(const Stmt *S, CGBlockInfo &Info) { if (PE->isSuperReceiver()) Info.NeedsObjCSelf = true; } - else if (const ObjCImplicitSetterGetterRefExpr *IE = - dyn_cast<ObjCImplicitSetterGetterRefExpr>(S)) { - // Getter/setter uses may also cause implicit super references, - // which we can check for with: - if (IE->isSuperReceiver()) - Info.NeedsObjCSelf = true; - } else if (isa<CXXThisExpr>(S)) Info.CXXThisRef = cast<CXXThisExpr>(S); } |