Pseudocode: Do not bind call value to callee expressions

This commit is contained in:
Alexey Sedunov
2014-06-10 17:25:16 +04:00
parent e94f96d457
commit 168b32920b
52 changed files with 351 additions and 477 deletions
@@ -9,8 +9,7 @@ fun foo() {
a[10] += 1
}
---------------------
Array <v0> NEW()
Array<Int> <v0> COPY
Array<Int> <v0> NEW()
3 <v1> NEW()
a <v2> NEW()
10 <v3> NEW()
@@ -24,8 +23,7 @@ a[10] <v9> NEW(<v7>, <v
a <v16> NEW()
10 <v17> NEW()
a[10] <v13> NEW(<v11>, <v12>)
+= <v15> NEW(<v13>, <v14>)
1 <v14> NEW()
1 <v14> NEW()
a[10] += 1 <v18> NEW(<v16>, <v17>, <v15>)
{ val a = Array<Int> 3 a[10] = 4 2 a[10] 100 a[10] += 1 } <v18> COPY
=====================