1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/pointer-pointer-3.cfg
2020-03-29 21:00:25 +02:00

35 lines
958 B
INI

@begin: scope:[] from
[0] (volatile byte*) screen ← (byte*) 1024
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 setscreen
to:main::@1
main::@1: scope:[main] from main
[6] *((volatile byte*) screen) ← (byte) 'a'
[7] call setscreen
to:main::@2
main::@2: scope:[main] from main::@1
[8] *((volatile byte*) screen) ← (byte) 'a'
to:main::@return
main::@return: scope:[main] from main::@2
[9] return
to:@return
(void()) setscreen((byte**) setscreen::screen , (byte*) setscreen::val)
setscreen: scope:[setscreen] from main main::@1
[10] (byte*) setscreen::val#2 ← phi( main/(const byte*) screen1 main::@1/(const byte*) screen2 )
[11] *(&(volatile byte*) screen) ← (byte*) setscreen::val#2
to:setscreen::@return
setscreen::@return: scope:[setscreen] from setscreen
[12] return
to:@return