1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/inline-string-2.cfg

50 lines
1.5 KiB
INI
Raw Normal View History

2020-10-05 20:58:02 +00:00
void main()
2020-06-27 19:18:00 +00:00
main: scope:[main] from
[0] phi()
[1] call print_msg
to:main::@1
main::@1: scope:[main] from main
2020-06-27 19:18:00 +00:00
[2] phi()
[3] call print_msg
to:main::@return
main::@return: scope:[main] from main::@1
2020-06-27 19:18:00 +00:00
[4] return
to:@return
2020-10-05 20:58:02 +00:00
void print_msg(byte print_msg::idx)
print_msg: scope:[print_msg] from main main::@1
2020-10-05 20:58:02 +00:00
[5] screen#20 = phi( main/(byte*) 1024, main::@1/screen#15 )
[5] print_msg::idx#2 = phi( main/1, main::@1/2 )
[6] if(print_msg::idx#2==1) goto print_msg::@1
to:print_msg::@2
2019-05-30 20:29:04 +00:00
print_msg::@1: scope:[print_msg] from print_msg
2020-06-27 19:18:00 +00:00
[7] phi()
2019-05-30 20:29:04 +00:00
to:print_msg::@2
print_msg::@2: scope:[print_msg] from print_msg print_msg::@1
2020-10-05 20:58:02 +00:00
[8] print_msg::msg#3 = phi( print_msg::@1/print_msg::msg#1, print_msg/print_msg::msg#2 )
[9] print::msg#0 = print_msg::msg#3
2020-06-27 19:18:00 +00:00
[10] call print
to:print_msg::@return
2019-05-30 20:29:04 +00:00
print_msg::@return: scope:[print_msg] from print_msg::@2
2020-06-27 19:18:00 +00:00
[11] return
to:@return
2020-10-05 20:58:02 +00:00
void print(byte* print::msg)
2019-05-30 20:29:04 +00:00
print: scope:[print] from print_msg::@2
2020-06-27 19:18:00 +00:00
[12] phi()
to:print::@1
print::@1: scope:[print] from print print::@2
2020-10-05 20:58:02 +00:00
[13] screen#15 = phi( print/screen#20, print::@2/screen#5 )
[13] print::msg#2 = phi( print/print::msg#0, print::@2/print::msg#1 )
[14] if(0!=*print::msg#2) goto print::@2
to:print::@return
print::@return: scope:[print] from print::@1
2020-06-27 19:18:00 +00:00
[15] return
to:@return
print::@2: scope:[print] from print::@1
2020-10-05 20:58:02 +00:00
[16] *screen#15 = *print::msg#2
[17] screen#5 = ++ screen#15
[18] print::msg#1 = ++ print::msg#2
to:print::@1