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

34 lines
1.1 KiB
INI
Raw Normal View History

2019-08-10 13:07:51 +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-10 13:07:51 +00:00
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@4
[5] (byte) main::idx#2 ← phi( main/(byte) 0 main::@4/(byte) main::idx#5 )
[5] (byte) main::i#2 ← phi( main/(byte) 0 main::@4/(byte) main::i#1 )
[6] if((byte) 0!=*((const to_nomodify byte*) MESSAGE + (byte) main::i#2)) goto main::@2
2019-08-10 13:07:51 +00:00
to:main::@return
main::@return: scope:[main] from main::@1
[7] return
to:@return
main::@2: scope:[main] from main::@1
[8] if(*((const to_nomodify byte*) MESSAGE + (byte) main::i#2)==(byte) ' ') goto main::@4
2019-08-10 13:07:51 +00:00
to:main::@3
main::@3: scope:[main] from main::@2
[9] *((const nomodify byte*) SCREEN + (byte) main::idx#2) ← *((const to_nomodify byte*) MESSAGE + (byte) main::i#2)
2019-08-10 13:07:51 +00:00
[10] (byte) main::idx#1 ← ++ (byte) main::idx#2
to:main::@4
main::@4: scope:[main] from main::@2 main::@3
[11] (byte) main::idx#5 ← phi( main::@2/(byte) main::idx#2 main::@3/(byte) main::idx#1 )
[12] (byte) main::i#1 ← ++ (byte) main::i#2
to:main::@1