1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/loop-while-sideeffect.cfg

30 lines
803 B
INI
Raw Normal View History

2019-08-01 19:15:33 +00:00
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
(void()) main()
2019-08-01 19:15:33 +00:00
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@2
2019-11-17 18:58:06 +00:00
[5] (byte) main::i#2 ← phi( main/(byte) 7 main::@2/(byte) main::i#5 )
[6] (byte) main::i#1 ← ++ (byte) main::i#2
[7] if((byte) main::i#2!=(byte) 7) goto main::@2
to:main::@3
main::@3: scope:[main] from main::@1
[8] *((const byte*) SCREEN + (byte) main::i#1) ← (byte) 'x'
2019-08-01 19:15:33 +00:00
to:main::@return
main::@return: scope:[main] from main::@3
[9] return
2019-08-01 19:15:33 +00:00
to:@return
main::@2: scope:[main] from main::@1
[10] *((const byte*) SCREEN + (byte) main::i#1) ← (byte) main::i#1
2019-11-17 18:58:06 +00:00
[11] (byte) main::i#5 ← (byte) main::i#1
to:main::@1