Files
kotlin-fork/compiler/testData/cfg/conventions/notEqual.instructions
T
2014-03-07 21:08:14 +04:00

32 lines
668 B
Plaintext

== neq ==
fun neq(a: Int, b: Int) {
if (a != b) {}
}
---------------------
L0:
<START>
v(a: Int)
w(a)
v(b: Int)
w(b)
mark({ if (a != b) {} })
mark(if (a != b) {})
mark(a != b)
r(a)
r(b)
call(!=, equals)
jf(L2) NEXT:[read (Unit), mark({})]
mark({})
read (Unit)
jmp(L3) NEXT:[<END>]
L2:
read (Unit) PREV:[jf(L2)]
L1:
L3:
<END> NEXT:[<SINK>] PREV:[jmp(L3), read (Unit)]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================