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
@@ -15,14 +15,12 @@ fun foo(numbers: Collection<Int>) {
---------------------
numbers <v1> NEW()
1 <v3> NEW()
< <v5> NEW(<v3>, <v4>)
2 <v4> NEW()
1 < 2 <v5> COPY
1 < 2 <v5> NEW(<v3>, <v4>)
false <v6> NEW()
true <v7> NEW()
use <v9> NEW(<v8>)
b <v8> NEW()
use(b) <v9> COPY
use(b) <v9> NEW(<v8>)
=====================
== use ==
fun use(vararg a: Any?) = a