Mark some expressions after processing their components
when it's semantically correct Expressions: calls, 'for' loops, elvis operators It's significant for reporting 'unreachable code' correctly
This commit is contained in:
@@ -9,12 +9,13 @@ L0:
|
||||
magic(array: Array<(Int)->Unit>) -> <v0>
|
||||
w(array|<v0>)
|
||||
2 mark({ array[11](3) })
|
||||
mark(array[11](3))
|
||||
mark(array[11])
|
||||
r(array) -> <v1>
|
||||
r(11) -> <v2>
|
||||
mark(array[11])
|
||||
call(array[11], get|<v1>, <v2>) -> <v3>
|
||||
r(3) -> <v4>
|
||||
mark(array[11](3))
|
||||
call(array[11], invoke|<v3>, <v4>) -> <v5>
|
||||
L1:
|
||||
1 <END> NEXT:[<SINK>]
|
||||
|
||||
Reference in New Issue
Block a user