1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-30 09:57:11 +00:00
kickc/src/test/ref/ptrptr-optimize-1.cfg

33 lines
803 B
INI
Raw Normal View History

2019-05-30 20:29:04 +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-05-30 20:29:04 +00:00
main: scope:[main] from @1
[4] (volatile byte*) main::screen ← (byte*) 1024
2019-05-30 20:29:04 +00:00
[5] call sub
to:main::@1
main::@1: scope:[main] from main
[6] phi()
[7] call sub
to:main::@return
main::@return: scope:[main] from main::@1
[8] return
to:@return
(void()) sub((byte) sub::ch , (byte**) sub::dst)
2019-05-30 20:29:04 +00:00
sub: scope:[sub] from main main::@1
[9] (byte) sub::ch#2 ← phi( main/(byte) 'a' main::@1/(byte) 'b' )
[10] *(*((const byte**) main::pscreen)) ← (byte) sub::ch#2
[11] *((const byte**) main::pscreen) ← ++ *((const byte**) main::pscreen)
2019-05-30 20:29:04 +00:00
to:sub::@return
sub::@return: scope:[sub] from sub
[12] return
to:@return