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
@@ -13,11 +13,11 @@ fun test(ab: Ab) {
ab.getArray()[1]
}
---------------------
<v0>: {<: Ab} NEW: magic(ab: Ab) -> <v0>
ab <v1>: {<: Ab} NEW: r(ab) -> <v1>
getArray() <v2>: {<: Array<Int>} NEW: call(getArray, getArray|<v1>) -> <v2>
ab.getArray() <v2>: {<: Array<Int>} COPY
1 <v3>: Int NEW: r(1) -> <v3>
<v0>: {<: Ab} NEW: magic(ab: Ab) -> <v0>
ab <v1>: {<: Ab} NEW: r(ab) -> <v1>
getArray() <v2>: {<: Array<Int>} NEW: call(getArray(), getArray|<v1>) -> <v2>
ab.getArray() <v2>: {<: Array<Int>} COPY
1 <v3>: Int NEW: r(1) -> <v3>
ab.getArray()[1] <v4>: * NEW: call(ab.getArray()[1], get|<v2>, <v3>) -> <v4>
{ ab.getArray()[1] } <v4>: * COPY
=====================
{ ab.getArray()[1] } <v4>: * COPY
=====================