Updated tests for control flow: call instruction stores call element
instead of callee expression
This commit is contained in:
@@ -19,14 +19,14 @@ L0:
|
||||
1 <START>
|
||||
mark(throw Exception())
|
||||
mark(Exception())
|
||||
call(Exception, <init>) -> <v0>
|
||||
throw (throw Exception()|<v0>) NEXT:[<ERROR>]
|
||||
call(Exception(), <init>) -> <v0>
|
||||
throw (throw Exception()|<v0>) NEXT:[<ERROR>]
|
||||
L1:
|
||||
<END> NEXT:[<SINK>] PREV:[]
|
||||
<END> NEXT:[<SINK>] PREV:[]
|
||||
error:
|
||||
<ERROR> PREV:[throw (throw Exception()|<v0>)]
|
||||
<ERROR> PREV:[throw (throw Exception()|<v0>)]
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== foo ==
|
||||
fun foo() {
|
||||
@@ -42,10 +42,10 @@ L0:
|
||||
magic(null!!|<v0>) -> <v1>
|
||||
jmp(error) NEXT:[<ERROR>]
|
||||
- mark(doSomething()) PREV:[]
|
||||
- call(doSomething, doSomething|<v1>) -> <v2> PREV:[]
|
||||
- call(doSomething(), doSomething|<v1>) -> <v2> PREV:[]
|
||||
- mark(bar().doSomething) PREV:[]
|
||||
- mark(bar()) PREV:[]
|
||||
- call(bar, bar) PREV:[]
|
||||
- call(bar(), bar) PREV:[]
|
||||
- jmp(error) NEXT:[<ERROR>] PREV:[]
|
||||
- mark(doSomething) PREV:[]
|
||||
- call(doSomething, doSomething) -> <v3> PREV:[]
|
||||
|
||||
Reference in New Issue
Block a user