aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicInliner.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-10-28 20:29:00 +0000
committerSteve Naroff <snaroff@apple.com>2008-10-28 20:29:00 +0000
commitf4b992a8ec2d581f15ee9b18607d6c169d07b628 (patch)
tree4eda48be874f92e719eae59d24a5a531a38ccdaf /llvm/lib/Transforms/Utils/BasicInliner.cpp
parent2800afa64063daaf6e6b3ae298b29a0a5ffc55a7 (diff)
downloadllvm-f4b992a8ec2d581f15ee9b18607d6c169d07b628.zip
llvm-f4b992a8ec2d581f15ee9b18607d6c169d07b628.tar.gz
llvm-f4b992a8ec2d581f15ee9b18607d6c169d07b628.tar.bz2
More changes necessary to integrate the objc and blocks rewriters.
With this commit, stuff like this is very close to working... [foo barf:^(int){ printf("whatever\n"); }]; Here is what is currently translates to... ((id (*)(id, SEL, void (^)(int)))(void *)objc_msgSend)((id)foo, sel_registerName("barf:"), (void (*)(int))__main_block_func_0); I just need make sure the funky cast on objc_msgSend() is converted from "void (^)(int)" to "void (*)(int)". Since the cast doesn't appear in the source code, it needs to be converted in RewriteObjC::SynthMessageExpr(). llvm-svn: 58348
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicInliner.cpp')
0 files changed, 0 insertions, 0 deletions