Rename start methods to main so interpreter works easier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-08-23 17:08:51 +00:00
parent 8dc89a330c
commit 1a42c342c2
2 changed files with 8 additions and 2 deletions

View 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

View 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