Pseudocode: Add valued instructions and unbound values to AbstractPseudoValueTest

This commit is contained in:
Alexey Sedunov
2014-06-25 19:32:20 +04:00
parent 21be468e6c
commit f226d99d36
77 changed files with 897 additions and 777 deletions
@@ -18,9 +18,10 @@ fun foobar(f: Foo) {
Bar().f()
}
---------------------
Bar() <v2>: Bar NEW()
f <v1>: Foo NEW()
f() <v3>: * NEW(<v1>, <v2>)
<v0>: Foo NEW: magic(f: Foo) -> <v0>
Bar() <v2>: Bar NEW: call(Bar, <init>) -> <v2>
f <v1>: Foo NEW: r(f) -> <v1>
f() <v3>: * NEW: call(f, invoke|<v1>, <v2>) -> <v3>
Bar().f() <v3>: * COPY
{ Bar().f() } <v3>: * COPY
=====================
=====================