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
2019-09-29 20:57:28 +02:00

32 lines
954 B
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()
(void()) main()
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@3
[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
[6] (byte) main::l#2 ← phi( main::@1/(byte) 4 main::@2/(byte) main::l#1 )
[7] (word) main::w#0 ← *((const byte[]) main::his + (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
[10] if((byte) main::l#1!=(byte) 8) goto main::@2
to:main::@3
main::@3: scope:[main] from main::@2
[11] (byte) main::h#1 ← ++ (byte) main::h#4
[12] if((byte) main::h#1!=(byte) 3) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@3
[13] return
to:@return