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
@@ -1,11 +1,11 @@
== foo ==
fun foo(i: Int = 1, j: Int) = i + j
---------------------
<v1>: Int NEW: magic(i: Int = 1) -> <v1>
<v3>: Int NEW: magic(j: Int) -> <v3>
1 <v0>: Int NEW: r(1) -> <v0>
<v1>: Int NEW: magic(i: Int = 1) -> <v1>
<v3>: Int NEW: magic(j: Int) -> <v3>
1 <v0>: Int NEW: r(1) -> <v0>
i: Int = 1 <v2>: Int NEW: merge(i: Int = 1|<v0>, <v1>) -> <v2>
i <v4>: Int NEW: r(i) -> <v4>
j <v5>: Int NEW: r(j) -> <v5>
i + j <v6>: Int NEW: call(+, plus|<v4>, <v5>) -> <v6>
=====================
i <v4>: Int NEW: r(i) -> <v4>
j <v5>: Int NEW: r(j) -> <v5>
i + j <v6>: Int NEW: call(i + j, plus|<v4>, <v5>) -> <v6>
=====================