1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 17:24:39 +00:00
kickc/src/test/ref/modglobal.cfg
2019-05-30 22:29:07 +02:00

43 lines
1.4 KiB
INI

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] phi()
[5] call inccnt
[6] (byte) inccnt::return#0 ← (byte) inccnt::return#2
to:main::@1
main::@1: scope:[main] from main
[7] (byte~) main::$0 ← (byte) inccnt::return#0
[8] *((const byte[$100]) SCREEN#0) ← (byte~) main::$0
[9] (byte) cnt#2 ← ++ (byte) cnt#12
[10] call inccnt
[11] (byte) inccnt::return#1 ← (byte) inccnt::return#2
to:main::@2
main::@2: scope:[main] from main::@1
[12] (byte~) main::$1 ← (byte) inccnt::return#1
[13] *((const byte[$100]) SCREEN#0+(byte) 1) ← (byte~) main::$1
[14] *((const byte[$100]) SCREEN#0+(byte) 2) ← (byte) cnt2#11
[15] *((const byte[$100]) SCREEN#0+(byte) 3) ← (byte) cnt3#11
to:main::@return
main::@return: scope:[main] from main::@2
[16] return
to:@return
inccnt: scope:[inccnt] from main main::@1
[17] (byte) cnt3#10 ← phi( main/(byte) 0 main::@1/(byte) cnt3#11 )
[17] (byte) cnt2#10 ← phi( main/(byte) 0 main::@1/(byte) cnt2#11 )
[17] (byte) cnt#11 ← phi( main/(byte) 0 main::@1/(byte) cnt#2 )
[18] (byte) cnt#12 ← ++ (byte) cnt#11
[19] (byte) cnt2#11 ← ++ (byte) cnt2#10
[20] (byte) cnt3#11 ← ++ (byte) cnt3#10
[21] (byte) inccnt::return#2 ← (byte) cnt#12
to:inccnt::@return
inccnt::@return: scope:[inccnt] from inccnt
[22] return
to:@return