Rename start methods to main so interpreter works easier
authorChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2001 17:08:51 +0000 (17:08 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2001 17:08:51 +0000 (17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367 91177308-0d34-0410-b5e6-96231b3b80d8

test/inductionvars.ll
test/inlinetest.ll

index dba38a038392d93873c4f7ce7d315e05049f07a7..f280ddd83d0dcd421fd3361f201a64ba8059ab50 100644 (file)
@@ -1,6 +1,6 @@
 implementation
 
-int "loop test"(int %i, int %j)
+int "looptest"(int %i, int %j)
 begin
        %whichLoop = setlt int %i, %j
        br bool %whichLoop, label %Loop1Header, label %Loop2Header
@@ -41,3 +41,9 @@ Merge:
        ret int %v2
 end
 
+int "main"()
+begin
+       call int %looptest(int 0, int 12)
+       ret int %0
+end
+
index 6db3076475ac2c31ac7d471229f862ff5b4c1a5e..f3b68d8b443b48841e5406e945e9b075d4945c1d 100644 (file)
@@ -19,7 +19,7 @@ begin
        ret int %q
 end
 
-int "FTIITII"()
+int "main"()
 begin
         %z = call int(int) %FuncToInlineInto(int 1)
         ret int %z