1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-09 08:54:40 +00:00
kickc/src/test/ref/struct-2.cfg
2020-03-29 21:00:25 +02:00

25 lines
1011 B
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] *((byte*)&(struct Point) point1) ← (byte) 2
[5] *((byte*)&(struct Point) point1+(const byte) OFFSET_STRUCT_POINT_Y) ← (byte) 3
[6] *(&(struct Point) point2) ← memcpy(*(&(struct Point) point1), struct Point, (const byte) SIZEOF_STRUCT_POINT)
[7] *((byte*)&(struct Point) point2) ← (byte) 4
[8] *((const nomodify byte*) main::SCREEN) ← *((byte*)&(struct Point) point1)
[9] *((const nomodify byte*) main::SCREEN+(byte) 1) ← *((byte*)&(struct Point) point1+(const byte) OFFSET_STRUCT_POINT_Y)
[10] *((const nomodify byte*) main::SCREEN+(byte) 2) ← *((byte*)&(struct Point) point2)
[11] *((const nomodify byte*) main::SCREEN+(byte) 3) ← *((byte*)&(struct Point) point2+(const byte) OFFSET_STRUCT_POINT_Y)
to:main::@return
main::@return: scope:[main] from main
[12] return
to:@return