1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/inline-word.cfg

30 lines
939 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
to:@end
@end: scope:[] from @1
2018-11-11 20:51:36 +00:00
[3] phi()
main: scope:[main] from @1
2018-11-11 20:51:36 +00:00
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@3
2019-05-30 20:29:04 +00:00
[5] (byte) main::h#4 ← phi( main/(byte) 0 main::@3/(byte) main::h#1 )
to:main::@2
main::@2: scope:[main] from main::@1 main::@2
2019-05-30 20:29:04 +00:00
[6] (byte) main::l#2 ← phi( main::@1/(byte) 4 main::@2/(byte) main::l#1 )
2018-11-11 20:51:36 +00:00
[7] (word) main::w#0 ← *((const byte[]) main::his#0 + (byte) main::h#4) w= (byte) main::l#2
[8] *((byte*)(word) main::w#0) ← (byte) '*'
[9] (byte) main::l#1 ← ++ (byte) main::l#2
2019-05-30 20:29:04 +00:00
[10] if((byte) main::l#1!=(byte) 8) goto main::@2
to:main::@3
main::@3: scope:[main] from main::@2
2018-11-11 20:51:36 +00:00
[11] (byte) main::h#1 ← ++ (byte) main::h#4
2019-05-30 20:29:04 +00:00
[12] if((byte) main::h#1!=(byte) 3) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@3
2018-11-11 20:51:36 +00:00
[13] return
to:@return