summaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-03 14:50:12 +0000
committerChris Lattner <sabre@nondot.org>2001-10-03 14:50:12 +0000
commitda257162968820a7fd77a9df44e3f72090a7f13a (patch)
tree1bc033fab0bd3131f2f7fc1fb61707945adcfa22 /test/Feature
parentf4ba6c710c298fe9b492b9cde82ce5efd46afd5d (diff)
downloadllvm-da257162968820a7fd77a9df44e3f72090a7f13a.tar.gz
llvm-da257162968820a7fd77a9df44e3f72090a7f13a.tar.bz2
llvm-da257162968820a7fd77a9df44e3f72090a7f13a.tar.xz
Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/allocatest2.ll4
-rw-r--r--test/Feature/calltest.ll2
-rw-r--r--test/Feature/prototype.ll2
-rw-r--r--test/Feature/testvarargs.ll2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/Feature/allocatest2.ll b/test/Feature/allocatest2.ll
index 8500d9f417..2775f0129e 100644
--- a/test/Feature/allocatest2.ll
+++ b/test/Feature/allocatest2.ll
@@ -10,7 +10,7 @@ bb1: ;;<label>
%reg110 = shl uint %n, ubyte 2 ;;<uint>
%reg108 = alloca [ubyte], uint %reg110 ;;<ubyte*>
%cast1000 = cast [ubyte]* %reg108 to uint* ;;<uint*>
- call void(uint, uint*) %_Z12combinationsjPj(uint %n, uint* %cast1000) ;;<void>
+ call void %_Z12combinationsjPj(uint %n, uint* %cast1000) ;;<void>
%cast113 = cast uint %reg110 to ulong* ;;<ulong*>
cast uint 7 to ulong *
%reg114 = add ulong* %cast113, %0 ;;<ulong*>
@@ -19,7 +19,7 @@ bb1: ;;<label>
%cast1001 = cast ulong* %reg117 to uint ;;<uint>
%reg118 = alloca [ubyte], uint %cast1001 ;;<ubyte*>
%cast1002 = cast [ubyte]* %reg118 to uint* ;;<uint*>
- call void(uint, uint*) %_Z12combinationsjPj(uint %n, uint* %cast1002) ;;<void>
+ call void %_Z12combinationsjPj(uint %n, uint* %cast1002) ;;<void>
ret void ;;<void>
end
diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll
index f478e500df..192dca39fe 100644
--- a/test/Feature/calltest.ll
+++ b/test/Feature/calltest.ll
@@ -5,7 +5,7 @@ implementation
int "main"(int %argc) ; TODO: , sbyte **argv, sbyte **envp)
begin
- %retval = call int (int) %test(int %argc)
+ %retval = call int (int) *%test(int %argc)
%two = add int %retval, %retval
ret int %two
end
diff --git a/test/Feature/prototype.ll b/test/Feature/prototype.ll
index cea4f32b2b..6874ca6b53 100644
--- a/test/Feature/prototype.ll
+++ b/test/Feature/prototype.ll
@@ -4,7 +4,7 @@ declare int "bar"(int %in)
int "foo"(int %blah)
begin
- %xx = call int(int) %bar(int %blah)
+ %xx = call int %bar(int %blah)
ret int %xx
end
diff --git a/test/Feature/testvarargs.ll b/test/Feature/testvarargs.ll
index 79c9000265..a26c81ac5b 100644
--- a/test/Feature/testvarargs.ll
+++ b/test/Feature/testvarargs.ll
@@ -5,7 +5,7 @@ declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const
int "testvarar"()
begin
cast int 0 to sbyte*
- call int(sbyte*, ...) %printf(sbyte * %0, int 12, sbyte 42);
+ call int(sbyte*, ...) *%printf(sbyte * %0, int 12, sbyte 42);
ret int %0
end