diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-03-01 17:28:13 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-03-01 17:28:13 +0000 |
commit | cf7f66f16f556e9c9a63a12adc7b3e0140b20cd1 (patch) | |
tree | a6818c5960c9ff09b1ca8a380d849f35c767b208 /clang/test/CodeGenObjC/messages.m | |
parent | b3a58b08e0430ba08de73026a3ff264d467190cc (diff) | |
download | bcm5719-llvm-cf7f66f16f556e9c9a63a12adc7b3e0140b20cd1.tar.gz bcm5719-llvm-cf7f66f16f556e9c9a63a12adc7b3e0140b20cd1.zip |
objc IRGen for Next runtime message API.
The prototype for objc_msgSend() is technically variadic -
`id objc_msgSend(id, SEL, ...)`.
But all method calls should use a prototype that matches the method,
not the prototype for objc_msgSend itself().
// rdar://9048030
llvm-svn: 126754
Diffstat (limited to 'clang/test/CodeGenObjC/messages.m')
-rw-r--r-- | clang/test/CodeGenObjC/messages.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/messages.m b/clang/test/CodeGenObjC/messages.m index b36fe5b644e..449279ca60d 100644 --- a/clang/test/CodeGenObjC/messages.m +++ b/clang/test/CodeGenObjC/messages.m @@ -13,8 +13,8 @@ void f0(id a) { int i; MyPoint pt = { 1, 2}; - // CHECK-MAC: call {{.*}} @objc_msgSend( - // CHECK-MAC-NF: call {{.*}} @objc_msgSend( + // CHECK-MAC: call {{.*}} @objc_msgSend to + // CHECK-MAC-NF: call {{.*}} @objc_msgSend to // CHECK-GNU: call {{.*}} @objc_msg_lookup( // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender( [a print0]; |