summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/arc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/arc.ll')
-rw-r--r--clang/test/CodeGenObjC/arc.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGenObjC/arc.ll b/clang/test/CodeGenObjC/arc.ll
index caafcff0524..f23c656c349 100644
--- a/clang/test/CodeGenObjC/arc.ll
+++ b/clang/test/CodeGenObjC/arc.ll
@@ -2,8 +2,8 @@
target triple = "x86_64-apple-darwin10"
-declare i8* @objc_retain(i8*)
-declare void @objc_release(i8*)
+declare i8* @llvm.objc.retain(i8*)
+declare void @llvm.objc.release(i8*)
; CHECK-LABEL: define void @test(
; CHECK-NOT: @objc_
@@ -13,15 +13,15 @@ entry:
br label %loop
loop:
- call i8* @objc_retain(i8* %x)
+ call i8* @llvm.objc.retain(i8* %x)
%q = load i1, i1* %p
br i1 %q, label %loop.more, label %exit
loop.more:
- call void @objc_release(i8* %x)
+ call void @llvm.objc.release(i8* %x)
br label %loop
exit:
- call void @objc_release(i8* %x)
+ call void @llvm.objc.release(i8* %x)
ret void
}
OpenPOWER on IntegriCloud