Files
kotlin-fork/compiler/testData/cfg/DeadCode.instructions
T
2012-12-18 16:00:27 +04:00

21 lines
889 B
Plaintext

== test ==
fun test() {
throw Exception()
test()
}
---------------------
L0:
<START> NEXT:[r(Exception)] PREV:[]
r(Exception) NEXT:[r(Exception())] PREV:[<START>]
r(Exception()) NEXT:[throw (throw Exception())] PREV:[r(Exception)]
throw (throw Exception()) NEXT:[<ERROR>] PREV:[r(Exception())]
- r(test) NEXT:[r(test())] PREV:[]
- r(test()) NEXT:[<END>] PREV:[]
L1:
<END> NEXT:[<SINK>] PREV:[]
error:
<ERROR> NEXT:[<SINK>] PREV:[throw (throw Exception())]
sink:
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
=====================