Pseudocode: Add debug information to magic instructions

This commit is contained in:
Alexey Sedunov
2014-06-26 13:06:28 +04:00
parent d636d362b7
commit 4707f4a5e9
125 changed files with 1204 additions and 1157 deletions
@@ -7,11 +7,11 @@ L0:
1 <START>
2 mark({ T })
error(T, No resolved call)
magic(T) -> <v0>
magic[UNRESOLVED_CALL](T) -> <v0>
L1:
1 <END> NEXT:[<SINK>]
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================
@@ -3,6 +3,6 @@ fun <T> foo() {
T
}
---------------------
T <v0>: * NEW: magic(T) -> <v0>
{ T } <v0>: * COPY
T <v0>: * NEW: magic[UNRESOLVED_CALL](T) -> <v0>
{ T } <v0>: * COPY
=====================