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
@@ -22,7 +22,6 @@ L0:
w(a|<v0>)
2 mark({ a[0]++ })
mark(a[0])
error(a[0], No resolved call)
r(a) -> <v1>
r(0) -> <v2>
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
@@ -22,7 +22,6 @@ L0:
w(a|<v0>)
2 mark({ a[0] += 1 })
mark(a[0])
error(a[0], No resolved call)
r(a) -> <v1>
r(0) -> <v2>
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
@@ -22,7 +22,6 @@ L0:
w(a|<v0>)
2 mark({ a[1] = 2 })
mark(a[1])
error(a[1], No resolved call)
r(a) -> <v1>
r(1) -> <v2>
magic[UNRESOLVED_CALL](a[1]|<v1>, <v2>) -> <v3>
@@ -6,7 +6,6 @@ fun <T> foo() {
L0:
1 <START>
2 mark({ T })
error(T, No resolved call)
magic[UNRESOLVED_CALL](T) -> <v0>
L1:
1 <END> NEXT:[<SINK>]
@@ -14,4 +13,4 @@ error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
=====================
@@ -212,7 +212,6 @@ L0:
mark(add(OUT_KEYWORD, inTopLevel))
call(add(OUT_KEYWORD, inTopLevel), add|<v99>, <v100>, <v101>) -> <v102>
r(OBJECT_KEYWORD) -> <v103>
error(unresolvedCode, No resolved call)
magic[UNRESOLVED_CALL](unresolvedCode) -> <v104>
mark(add(OBJECT_KEYWORD, unresolvedCode))
call(add(OBJECT_KEYWORD, unresolvedCode), add|<v102>, <v103>, <v104>) -> <v105>
@@ -10,8 +10,6 @@ L0:
w(a|<v0>)
2 mark({ a.foo() })
mark(a.foo())
error(foo(), No resolved call)
error(foo, No resolved call)
r(a) -> <v1>
mark(foo())
magic[UNRESOLVED_CALL](foo()|!<v2>, <v1>) -> <v3>
@@ -21,4 +19,4 @@ error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
=====================
@@ -10,7 +10,6 @@ L0:
w(a|<v0>)
2 mark({ a.foo })
mark(a.foo)
error(foo, No resolved call)
r(a) -> <v1>
magic[UNRESOLVED_CALL](foo|<v1>) -> <v2>
L1:
@@ -19,4 +18,4 @@ error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
=====================
@@ -9,7 +9,6 @@ L0:
magic[FAKE_INITIALIZER](arg : Array<String>) -> <v0>
w(arg|<v0>)
2 mark({ a })
error(a, No resolved call)
magic[UNRESOLVED_CALL](a) -> <v1>
L1:
1 <END> NEXT:[<SINK>]
@@ -17,4 +16,4 @@ error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
=====================