Updated tests for control flow: call instruction stores call element
instead of callee expression
This commit is contained in:
@@ -7,12 +7,12 @@ fun foo() {
|
||||
"after"
|
||||
}
|
||||
---------------------
|
||||
<v4>: Int NEW: magic(1..10|<v3>) -> <v4>
|
||||
"before" <v0>: * NEW: r("before") -> <v0>
|
||||
1 <v1>: Int NEW: r(1) -> <v1>
|
||||
10 <v2>: Int NEW: r(10) -> <v2>
|
||||
1..10 <v3>: {<: Iterable<Int>} NEW: call(.., rangeTo|<v1>, <v2>) -> <v3>
|
||||
i <v5>: Int NEW: r(i) -> <v5>
|
||||
"after" <v6>: * NEW: r("after") -> <v6>
|
||||
{ "before" for (i in 1..10) { val a = i } "after" } <v6>: * COPY
|
||||
=====================
|
||||
<v4>: Int NEW: magic(1..10|<v3>) -> <v4>
|
||||
"before" <v0>: * NEW: r("before") -> <v0>
|
||||
1 <v1>: Int NEW: r(1) -> <v1>
|
||||
10 <v2>: Int NEW: r(10) -> <v2>
|
||||
1..10 <v3>: {<: Iterable<Int>} NEW: call(1..10, rangeTo|<v1>, <v2>) -> <v3>
|
||||
i <v5>: Int NEW: r(i) -> <v5>
|
||||
"after" <v6>: * NEW: r("after") -> <v6>
|
||||
{ "before" for (i in 1..10) { val a = i } "after" } <v6>: * COPY
|
||||
=====================
|
||||
Reference in New Issue
Block a user