mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-16 21:07:56 +00:00
33 lines
881 B
INI
33 lines
881 B
INI
|
|
void main()
|
|
main: scope:[main] from
|
|
[0] main::y1 = $1234
|
|
[1] main::y2 = $1234
|
|
[2] call foo
|
|
[3] foo::return#2 = foo::return#0
|
|
to:main::@1
|
|
main::@1: scope:[main] from main
|
|
[4] main::$0 = foo::return#2
|
|
[5] *main::SCREEN#0 = main::$0
|
|
[6] call foo
|
|
[7] foo::return#3 = foo::return#0
|
|
to:main::@2
|
|
main::@2: scope:[main] from main::@1
|
|
[8] main::$1 = foo::return#3
|
|
[9] *(main::SCREEN#0+SIZEOF_SIGNED_WORD) = main::$1
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@2
|
|
[10] return
|
|
to:@return
|
|
|
|
signed word foo(byte foo::x , signed word* foo::y)
|
|
foo: scope:[foo] from main main::@1
|
|
[11] foo::y#2 = phi( main/&main::y1, main::@1/&main::y2 )
|
|
[11] foo::x#2 = phi( main/1, main::@1/2 )
|
|
[12] foo::$1 = foo::x#2 << 1
|
|
[13] foo::return#0 = wow[foo::$1] + *foo::y#2
|
|
to:foo::@return
|
|
foo::@return: scope:[foo] from foo
|
|
[14] return
|
|
to:@return
|