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
@@ -21,9 +21,9 @@ fun test(c: C) {
val d = 1
}
---------------------
<v0>: C NEW: magic(c: C) -> <v0>
<v0>: C NEW: magic(c: C) -> <v0>
a <v2>: Int NEW: call(a, component1|<v1>) -> <v2>
b <v3>: Int NEW: call(b, component2|<v1>) -> <v3>
c <v1>: C NEW: r(c) -> <v1>
1 <v4>: Int NEW: r(1) -> <v4>
c <v1>: C NEW: r(c) -> <v1>
1 <v4>: Int NEW: r(1) -> <v4>
=====================
@@ -7,7 +7,7 @@ fun foo(x: Int) {
<v0>: Int NEW: magic(x: Int) -> <v0>
<v2>: {<: [ERROR : component1() return type]} NEW: magic(a|<v1>) -> <v2>
<v3>: {<: [ERROR : component2() return type]} NEW: magic(b|<v1>) -> <v3>
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
=====================
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
=====================