1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-03 14:56:30 +00:00
kickc/src/test/ref/modglobalmin.cfg

37 lines
892 B
INI
Raw Normal View History

@begin: scope:[] from
2018-11-11 20:51:36 +00:00
[0] phi()
to:@1
@1: scope:[] from @begin
2018-11-11 20:51:36 +00:00
[1] phi()
[2] call main
2017-08-12 16:30:21 +00:00
to:@end
@end: scope:[] from @1
2018-11-11 20:51:36 +00:00
[3] phi()
(void()) main()
main: scope:[main] from @1
2018-11-11 20:51:36 +00:00
[4] phi()
[5] call inccnt
to:main::@1
main::@1: scope:[main] from main
[6] *((const byte[$100]) SCREEN) ← (byte) cnt#13
2018-11-11 20:51:36 +00:00
[7] (byte) cnt#2 ← ++ (byte) cnt#13
[8] call inccnt
to:main::@2
main::@2: scope:[main] from main::@1
2018-11-11 20:51:36 +00:00
[9] (byte) cnt#11 ← ++ (byte) cnt#13
[10] *((const byte[$100]) SCREEN+(byte) 1) ← (byte) cnt#11
to:main::@return
main::@return: scope:[main] from main::@2
2018-11-11 20:51:36 +00:00
[11] return
2017-08-12 16:30:21 +00:00
to:@return
(void()) inccnt()
inccnt: scope:[inccnt] from main main::@1
2019-05-30 20:29:04 +00:00
[12] (byte) cnt#12 ← phi( main/(byte) 0 main::@1/(byte) cnt#2 )
2018-11-11 20:51:36 +00:00
[13] (byte) cnt#13 ← ++ (byte) cnt#12
to:inccnt::@return
inccnt::@return: scope:[inccnt] from inccnt
2018-11-11 20:51:36 +00:00
[14] return
2017-08-12 16:30:21 +00:00
to:@return