Files
kotlin-fork/compiler/testData/cfg/conventions/incrementAtTheEnd.instructions
T
Svetlana Isakova aa26db0538 Updated tests for control flow: call instruction stores call element
instead of callee expression
2014-07-08 14:57:38 +04:00

24 lines
425 B
Plaintext

== foo ==
fun foo() {
var i = 1
i++
}
---------------------
L0:
1 <START>
2 mark({ var i = 1 i++ })
v(var i = 1)
r(1) -> <v0>
w(i|<v0>)
r(i) -> <v1>
mark(i++)
call(i++, inc|<v1>) -> <v2>
w(i|<v2>)
L1:
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================