Updated tests for control flow: call instruction stores call element

instead of callee expression
This commit is contained in:
Svetlana Isakova
2014-07-02 18:27:19 +04:00
parent 72e9822d99
commit aa26db0538
110 changed files with 1084 additions and 1084 deletions
@@ -3,9 +3,9 @@ fun invoke(f: () -> Unit) {
(f)()
}
---------------------
<v0>: {<: () -> Unit} NEW: magic(f: () -> Unit) -> <v0>
f <v1>: {<: () -> Unit} NEW: r(f) -> <v1>
(f) <v1>: {<: () -> Unit} COPY
(f)() <v2>: * NEW: call((f), invoke|<v1>) -> <v2>
{ (f)() } <v2>: * COPY
=====================
<v0>: {<: () -> Unit} NEW: magic(f: () -> Unit) -> <v0>
f <v1>: {<: () -> Unit} NEW: r(f) -> <v1>
(f) <v1>: {<: () -> Unit} COPY
(f)() <v2>: * NEW: call((f)(), invoke|<v1>) -> <v2>
{ (f)() } <v2>: * COPY
=====================