summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-24 22:48:43 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-24 22:48:43 +0000
commit574440fa58ebded7b334cc5ce50350259ffef6de (patch)
treedfec2f513e9252e7c3c66b0d661f7a3cc9bfca90 /llvm/docs/tutorial
parentd68df206201a9d23d3f7b81e3cab5ced002a0773 (diff)
downloadbcm5719-llvm-574440fa58ebded7b334cc5ce50350259ffef6de.tar.gz
bcm5719-llvm-574440fa58ebded7b334cc5ce50350259ffef6de.zip
More work on translating message expressions.
Still to do: - Chris will fix a bug in the rewriting engine for nested stmts. For example, the following: NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; tranlates to: NSAutoreleasePool * pool = objc_msgSend(objc_msgSend(objc_getClass("NSAutoreleasePool"), sel_getUid("alloc")), sel_getUid("init"))utoreleasePool"), sel_getUid("alloc")) init]; ...which is correct, except there is garbage after sel_getUid("init"). This is because the rewriter isn't updating the extent of the containing message expression. - Do the crazy cast thang. llvm-svn: 43316
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud