1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-18 04:08:58 +00:00
kickc/src/test/ref/address-of-2.cfg

60 lines
2.1 KiB
INI
Raw Normal View History

2020-06-27 19:18:00 +00:00
(void()) __start()
__start: scope:[__start] from
2020-06-27 19:18:00 +00:00
[0] phi()
to:__start::__init1
__start::__init1: scope:[__start] from __start
2020-06-27 19:18:00 +00:00
[1] (volatile byte) val ← (byte) 0
to:__start::@1
__start::@1: scope:[__start] from __start::__init1
2020-06-27 19:18:00 +00:00
[2] phi()
[3] call main
to:__start::@return
__start::@return: scope:[__start] from __start::@1
2020-06-27 19:18:00 +00:00
[4] return
to:@return
(void()) main()
main: scope:[main] from __start::@1
2020-06-27 19:18:00 +00:00
[5] *((const nomodify byte*) main::SCREEN1) ← (volatile byte) val
[6] *((const nomodify byte*) main::SCREEN2) ← (byte) '.'
[7] (volatile byte) val ← (byte) 1
[8] *((const nomodify byte*) main::SCREEN1+(byte) 1) ← (volatile byte) val
[9] *((const nomodify byte*) main::SCREEN2+(byte) 1) ← (byte) '.'
[10] (volatile byte) val ← (byte) 2
[11] *((const nomodify byte*) main::SCREEN1+(byte) 2) ← (volatile byte) val
[12] *((const nomodify byte*) main::SCREEN2+(byte) 2) ← *((const byte*) main::ptr)
[13] *((const byte*) main::ptr) ← (byte) 3
[14] *((const nomodify byte*) main::SCREEN1+(byte) 3) ← (volatile byte) val
[15] *((const nomodify byte*) main::SCREEN2+(byte) 3) ← *((const byte*) main::ptr)
[16] call setv
to:main::@1
main::@1: scope:[main] from main
2020-06-27 19:18:00 +00:00
[17] *((const nomodify byte*) main::SCREEN1+(byte) 4) ← (volatile byte) val
[18] *((const nomodify byte*) main::SCREEN2+(byte) 4) ← *((const byte*) main::ptr)
[19] call setp
to:main::@2
main::@2: scope:[main] from main::@1
2020-06-27 19:18:00 +00:00
[20] *((const nomodify byte*) main::SCREEN1+(byte) 5) ← (volatile byte) val
[21] *((const nomodify byte*) main::SCREEN2+(byte) 5) ← *((const byte*) main::ptr)
to:main::@return
main::@return: scope:[main] from main::@2
2020-06-27 19:18:00 +00:00
[22] return
to:@return
(void()) setv((byte) setv::v)
setv: scope:[setv] from main
[23] (volatile byte) val ← (const byte) setv::v#0
to:setv::@return
setv::@return: scope:[setv] from setv
[24] return
to:@return
(void()) setp((byte*) setp::p , (byte) setp::v)
setp: scope:[setp] from main::@1
[25] *((const byte*) main::ptr) ← (const byte) setp::v#0
to:setp::@return
setp::@return: scope:[setp] from setp
2020-06-27 19:18:00 +00:00
[26] return
to:@return