Updated tests for control flow: call instruction stores call element
instead of callee expression
This commit is contained in:
@@ -9,7 +9,7 @@ L0:
|
||||
mark(throw java.lang.RuntimeException())
|
||||
mark(java.lang.RuntimeException())
|
||||
mark(RuntimeException())
|
||||
call(RuntimeException, <init>) -> <v0>
|
||||
call(RuntimeException(), <init>) -> <v0>
|
||||
throw (throw java.lang.RuntimeException()|<v0>) NEXT:[<ERROR>]
|
||||
L1:
|
||||
1 <END> NEXT:[<SINK>] PREV:[]
|
||||
|
||||
@@ -3,6 +3,6 @@ fun fail() : Nothing {
|
||||
throw java.lang.RuntimeException()
|
||||
}
|
||||
---------------------
|
||||
RuntimeException() <v0>: {<: Throwable} NEW: call(RuntimeException, <init>) -> <v0>
|
||||
RuntimeException() <v0>: {<: Throwable} NEW: call(RuntimeException(), <init>) -> <v0>
|
||||
java.lang.RuntimeException() <v0>: {<: Throwable} COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user