Do not generate call for elvis + move dead code tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
== test ==
|
||||
fun test() {
|
||||
throw Exception()
|
||||
test()
|
||||
}
|
||||
---------------------
|
||||
L0:
|
||||
<START> NEXT:[call(Exception, <init>)] PREV:[]
|
||||
call(Exception, <init>) NEXT:[throw (throw Exception())] PREV:[<START>]
|
||||
throw (throw Exception()) NEXT:[<ERROR>] PREV:[call(Exception, <init>)]
|
||||
- call(test, test) NEXT:[<END>] PREV:[]
|
||||
L1:
|
||||
<END> NEXT:[<SINK>] PREV:[]
|
||||
error:
|
||||
<ERROR> NEXT:[<SINK>] PREV:[throw (throw Exception())]
|
||||
sink:
|
||||
<SINK> NEXT:[] PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
Reference in New Issue
Block a user