summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/messages.m
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2011-03-23 22:52:06 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2011-03-23 22:52:06 +0000
commit76803410c243087d40ba4f63df53e208e192f102 (patch)
tree8a6465b687871e2b32a83e55f47b5392f0ce4531 /clang/test/CodeGenObjC/messages.m
parent425489d3972ca9819d0c72e9d61e46493e26e635 (diff)
downloadbcm5719-llvm-76803410c243087d40ba4f63df53e208e192f102.tar.gz
bcm5719-llvm-76803410c243087d40ba4f63df53e208e192f102.zip
Fixed type error in last commit (forgot that now that selectors are not
accessed via the indirect pointer, they don't need to be pointers to pointers). Finished moving the message lookup code into separate subclasses for each runtime. Also performed a few smallish related tidies. We're now bitcasting the result of the message lookup functions, rather than casting the lookup functions themselves, so the messages.m test needed updating to reflect this. llvm-svn: 128180
Diffstat (limited to 'clang/test/CodeGenObjC/messages.m')
-rw-r--r--clang/test/CodeGenObjC/messages.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/CodeGenObjC/messages.m b/clang/test/CodeGenObjC/messages.m
index 449279ca60d..a921dc774ad 100644
--- a/clang/test/CodeGenObjC/messages.m
+++ b/clang/test/CodeGenObjC/messages.m
@@ -21,27 +21,27 @@ void f0(id a) {
// CHECK-MAC: call {{.*}} @objc_msgSend to
// CHECK-MAC-NF: call {{.*}} @objc_msgSend to
- // CHECK-GNU: call {{.*}} @objc_msg_lookup to
- // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender to
+ // CHECK-GNU: call {{.*}} @objc_msg_lookup(
+ // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender(
[a print1: 10];
// CHECK-MAC: call {{.*}} @objc_msgSend to
// CHECK-MAC-NF: call {{.*}} @objc_msgSend to
- // CHECK-GNU: call {{.*}} @objc_msg_lookup to
- // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender to
+ // CHECK-GNU: call {{.*}} @objc_msg_lookup(
+ // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender(
[a print2: 10 and: "hello" and: 2.2];
// CHECK-MAC: call {{.*}} @objc_msgSend to
// CHECK-MAC-NF: call {{.*}} @objc_msgSend to
- // CHECK-GNU: call {{.*}} @objc_msg_lookup to
- // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender to
+ // CHECK-GNU: call {{.*}} @objc_msg_lookup(
+ // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender(
[a takeStruct: pt ];
void *s = @selector(print0);
for (i=0; i<2; ++i)
// CHECK-MAC: call {{.*}} @objc_msgSend to
// CHECK-MAC-NF: call {{.*}} @objc_msgSend to
- // CHECK-GNU: call {{.*}} @objc_msg_lookup to
- // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender to
+ // CHECK-GNU: call {{.*}} @objc_msg_lookup(
+ // CHECK-GNU-NF: call {{.*}} @objc_msg_lookup_sender(
[a performSelector:s];
}
OpenPOWER on IntegriCloud