1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-09 08:54:40 +00:00
kickc/src/test/ref/callconstparam.cfg

43 lines
1.2 KiB
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()
[5] call line
to:main::@1
main::@1: scope:[main] from main
[6] phi()
[7] call line
to:main::@return
main::@return: scope:[main] from main::@1
[8] return
to:@return
(void()) line((byte) line::x0 , (byte) line::x1)
line: scope:[line] from main main::@1
[9] (byte*) screen#16 ← phi( main/(byte*) 1024 main::@1/(byte*) screen#10 )
[9] (byte) line::x1#3 ← phi( main/(byte) 2 main::@1/(byte) 5 )
[9] (byte) line::x#0 ← phi( main/(byte) 1 main::@1/(byte) 3 )
to:line::@1
line::@1: scope:[line] from line line::@2
[10] (byte*) screen#10 ← phi( line/(byte*) screen#16 line::@2/(byte*) screen#4 )
[10] (byte) line::x#2 ← phi( line/(byte) line::x#0 line::@2/(byte) line::x#1 )
[11] if((byte) line::x#2<(byte) line::x1#3) goto line::@2
to:line::@return
line::@return: scope:[line] from line::@1
[12] return
to:@return
line::@2: scope:[line] from line::@1
[13] *((byte*) screen#10) ← (byte) line::x#2
[14] (byte*) screen#4 ← ++ (byte*) screen#10
[15] (byte) line::x#1 ← ++ (byte) line::x#2
to:line::@1