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
@@ -3,10 +3,11 @@ fun foo(a: Array<Int>) {
a[0] += 1
}
---------------------
a <v6>: {<: Array<Int>} NEW()
0 <v7>: Int NEW()
a[0] <v3>: Int NEW(<v1>, <v2>)
1 <v4>: Int NEW()
a[0] += 1 <v8>: * NEW(<v6>, <v7>, <v5>)
<v0>: {<: Array<Int>} NEW: magic(a: Array<Int>) -> <v0>
a <v6>: {<: Array<Int>} NEW: r(a) -> <v6>
0 <v7>: Int NEW: r(0) -> <v7>
a[0] <v3>: Int NEW: call(a[0], get|<v1>, <v2>) -> <v3>
1 <v4>: Int NEW: r(1) -> <v4>
a[0] += 1 <v8>: * NEW: call(a[0] += 1, set|<v6>, <v7>, <v5>) -> <v8>
{ a[0] += 1 } <v8>: * COPY
=====================