mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
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:
parent
8dc89a330c
commit
1a42c342c2
@ -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
|
||||
|
||||
|
@ -19,7 +19,7 @@ begin
|
||||
ret int %q
|
||||
end
|
||||
|
||||
int "FTIITII"()
|
||||
int "main"()
|
||||
begin
|
||||
%z = call int(int) %FuncToInlineInto(int 1)
|
||||
ret int %z
|
||||
|
Loading…
Reference in New Issue
Block a user