Pseudocode: Drop CompilationErrorInstruction

This commit is contained in:
Alexey Sedunov
2014-10-07 18:26:58 +04:00
parent a56c54371e
commit a3a0edca58
16 changed files with 12 additions and 87 deletions
@@ -29,10 +29,8 @@ L2 [else branch]:
r(true) -> <v5> USE: in: {b=WRITTEN_AFTER_READ} out: {b=WRITTEN_AFTER_READ}
w(b|<v5>) INIT: in: {b=D} out: {b=ID} USE: in: {b=READ} out: {b=WRITTEN_AFTER_READ}
L3 ['if' expression result]:
2 merge(if (1 < 2) { b = false } else { b = true }|!<v4>, !<v6>) -> <v7> INIT: in: {b=ID} out: {b=ID}
error(use(b), No resolved call) USE: in: {b=READ} out: {b=READ}
2 merge(if (1 < 2) { b = false } else { b = true }|!<v4>, !<v6>) -> <v7> INIT: in: {b=ID} out: {b=ID} USE: in: {b=READ} out: {b=READ}
r(b) -> <v8> USE: in: {} out: {b=READ}
error(use, No resolved call)
mark(use(b))
magic[UNRESOLVED_CALL](use(b)|<v8>, !<v9>) -> <v10>
L1:
@@ -41,4 +39,4 @@ error:
<ERROR>
sink:
<SINK> USE: in: {} out: {}
=====================
=====================