Removed a FIXME comment.

llvm-svn: 92028
This commit is contained in:
Fariborz Jahanian 2009-12-23 19:26:34 +00:00
parent 7df3980609
commit 25c07fa224
1 changed files with 2 additions and 3 deletions

View File

@ -4163,9 +4163,8 @@ void RewriteObjC::RewriteBlockCall(CallExpr *Exp) {
// }; // };
//} //}
Stmt *RewriteObjC::RewriteBlockDeclRefExpr(BlockDeclRefExpr *BDRE) { Stmt *RewriteObjC::RewriteBlockDeclRefExpr(BlockDeclRefExpr *BDRE) {
// FIXME: Add more elaborate code generation required by the ABI. // Rewrite the byref variable into BYREFVAR->__forwarding->BYREFVAR
// That is, must generate BYREFVAR->__forwarding->BYREFVAR for each // for each BDRE where BYREFVAR is name of the variable.
// BDRE where BYREFVAR is name of the variable.
FieldDecl *FD = FieldDecl::Create(*Context, 0, SourceLocation(), FieldDecl *FD = FieldDecl::Create(*Context, 0, SourceLocation(),
&Context->Idents.get("__forwarding"), &Context->Idents.get("__forwarding"),
Context->VoidPtrTy, 0, Context->VoidPtrTy, 0,