Pseudocode: Replace UnsupportedElementInstruction with UNSUPPORTED_ELEMENT magic.
Generate UNSUPPORTED_ELEMENT for assignments with unresolved left-han side
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
== foo ==
|
||||
fun foo() {
|
||||
x = ""
|
||||
}
|
||||
---------------------
|
||||
"" <v0>: * NEW: r("") -> <v0>
|
||||
x = "" <v1>: * NEW: magic[UNSUPPORTED_ELEMENT](x = ""|<v0>) -> <v1>
|
||||
{ x = "" } <v1>: * COPY
|
||||
=====================
|
||||
Reference in New Issue
Block a user