mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-16 21:07:56 +00:00
47 lines
1.5 KiB
INI
47 lines
1.5 KiB
INI
|
|
void main()
|
|
main: scope:[main] from
|
|
[0] phi()
|
|
to:main::@2
|
|
main::@2: scope:[main] from main
|
|
[1] *SCREEN = '+'
|
|
to:main::@1
|
|
main::@1: scope:[main] from main::@2
|
|
[2] *(SCREEN+1) = ' '
|
|
to:main::@3
|
|
main::@3: scope:[main] from main::@1 main::@4
|
|
[3] main::idx#10 = phi( main::@1/2, main::@4/main::idx#11 )
|
|
[3] main::i#2 = phi( main::@1/0, main::@4/main::i#1 )
|
|
[4] if(0==main::i#2) goto main::@4
|
|
to:main::@5
|
|
main::@5: scope:[main] from main::@3
|
|
[5] SCREEN[main::idx#10] = '+'
|
|
[6] main::idx#4 = ++ main::idx#10
|
|
to:main::@4
|
|
main::@4: scope:[main] from main::@3 main::@5
|
|
[7] main::idx#11 = phi( main::@3/main::idx#10, main::@5/main::idx#4 )
|
|
[8] main::i#1 = ++ main::i#2
|
|
[9] if(main::i#1!=3) goto main::@3
|
|
to:main::@6
|
|
main::@6: scope:[main] from main::@4
|
|
[10] SCREEN[main::idx#11] = ' '
|
|
[11] main::idx#5 = ++ main::idx#11
|
|
to:main::@7
|
|
main::@7: scope:[main] from main::@6 main::@8
|
|
[12] main::idx#12 = phi( main::@8/main::idx#17, main::@6/main::idx#5 )
|
|
[12] main::i1#2 = phi( main::@8/main::i1#1, main::@6/0 )
|
|
[13] if(0==main::i1#2) goto main::@8
|
|
to:main::@9
|
|
main::@9: scope:[main] from main::@7
|
|
[14] SCREEN[main::idx#12] = '+'
|
|
[15] main::idx#6 = ++ main::idx#12
|
|
to:main::@8
|
|
main::@8: scope:[main] from main::@7 main::@9
|
|
[16] main::idx#17 = phi( main::@9/main::idx#6, main::@7/main::idx#12 )
|
|
[17] main::i1#1 = ++ main::i1#2
|
|
[18] if(main::i1#1!=3) goto main::@7
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@8
|
|
[19] return
|
|
to:@return
|