aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/ObjCARC/basic.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-08-22 17:27:02 +0000
committerDan Gohman <gohman@apple.com>2011-08-22 17:27:02 +0000
commit986b865c03b04e9d65bd100c7254c58547fc89e7 (patch)
tree37c2a677d4fff211d51bd8951a905820549b64da /test/Transforms/ObjCARC/basic.ll
parent3c0e5dc40f48eaec7c02d30a1da96858f7f46bec (diff)
Make a few tests slightly more strict.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138241 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ObjCARC/basic.ll')
-rw-r--r--test/Transforms/ObjCARC/basic.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/ObjCARC/basic.ll b/test/Transforms/ObjCARC/basic.ll
index aeb4c88d0d..def703910c 100644
--- a/test/Transforms/ObjCARC/basic.ll
+++ b/test/Transforms/ObjCARC/basic.ll
@@ -353,13 +353,14 @@ entry:
; CHECK: define void @test10(
; CHECK: @objc_retain(i8* %x)
+; CHECK: @callee
; CHECK: @use_pointer
; CHECK: @objc_release
; CHECK: }
define void @test10(i8* %x) nounwind {
entry:
%0 = call i8* @objc_retain(i8* %x) nounwind
- call void @use_pointer(i8* %x)
+ call void @callee()
call void @use_pointer(i8* %x)
call void @objc_release(i8* %0) nounwind
ret void
@@ -768,7 +769,7 @@ entry:
define void @test23b(i8* %p) {
entry:
%0 = call i8* @objc_retainBlock(i8* %p) nounwind
- call void @use_pointer(i8* %p)
+ call void @callee()
call void @use_pointer(i8* %p)
call void @objc_release(i8* %p) nounwind
ret void