aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-12-23 19:26:34 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-12-23 19:26:34 +0000
commitbbf37e232b10793b9ec91f4ea01ec168123d5026 (patch)
tree208a6dfc962641b08ecb056039e1ccee46c4544b
parentec878f2726e00e6dc0c432f462dab099e3f4a717 (diff)
Removed a FIXME comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92028 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Frontend/RewriteObjC.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Frontend/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp
index 2a3dd7ab03..fb82af1fa8 100644
--- a/lib/Frontend/RewriteObjC.cpp
+++ b/lib/Frontend/RewriteObjC.cpp
@@ -4163,9 +4163,8 @@ void RewriteObjC::RewriteBlockCall(CallExpr *Exp) {
// };
//}
Stmt *RewriteObjC::RewriteBlockDeclRefExpr(BlockDeclRefExpr *BDRE) {
- // FIXME: Add more elaborate code generation required by the ABI.
- // That is, must generate BYREFVAR->__forwarding->BYREFVAR for each
- // BDRE where BYREFVAR is name of the variable.
+ // Rewrite the byref variable into BYREFVAR->__forwarding->BYREFVAR
+ // for each BDRE where BYREFVAR is name of the variable.
FieldDecl *FD = FieldDecl::Create(*Context, 0, SourceLocation(),
&Context->Idents.get("__forwarding"),
Context->VoidPtrTy, 0,