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
@@ -47,7 +47,7 @@ fun foobar(f: Foo) {
L0:
1 <START>
v(f: Foo)
magic(f: Foo) -> <v0>
magic[FAKE_INITIALIZER](f: Foo) -> <v0>
w(f|<v0>)
2 mark({ Bar().f() })
mark(Bar().f())
@@ -57,9 +57,9 @@ L0:
mark(f())
call(f(), invoke|<v1>, <v2>) -> <v3>
L1:
1 <END> NEXT:[<SINK>]
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================