Files
kotlin-fork/compiler/testData/cfg/deadCode/DeadCode.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

23 lines
659 B
Plaintext

== test ==
fun test() {
throw Exception()
test()
}
---------------------
L0:
1 <START>
2 mark({ throw Exception() test() })
mark(throw Exception())
mark(Exception())
call(Exception(), <init>) -> <v0>
throw (throw Exception()|<v0>) NEXT:[<ERROR>]
- mark(test()) PREV:[]
- call(test(), test) -> <v1> PREV:[]
L1:
1 <END> NEXT:[<SINK>] PREV:[]
error:
<ERROR> PREV:[throw (throw Exception()|<v0>)]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================