Updated tests for control flow: call instruction stores call element

instead of callee expression
This commit is contained in:
Svetlana Isakova
2014-07-02 18:27:19 +04:00
parent 72e9822d99
commit aa26db0538
110 changed files with 1084 additions and 1084 deletions
@@ -5,7 +5,7 @@ fun Any?.doSomething() {}
== bar ==
fun bar(): Nothing = throw Exception()
---------------------
Exception() <v0>: {<: Throwable} NEW: call(Exception, <init>) -> <v0>
Exception() <v0>: {<: Throwable} NEW: call(Exception(), <init>) -> <v0>
=====================
== foo ==
fun foo() {
@@ -13,11 +13,11 @@ fun foo() {
bar().doSomething
}
---------------------
null <v0>: * NEW: r(null) -> <v0>
null!! <v1>: * NEW: magic(null!!|<v0>) -> <v1>
doSomething() <v2>: * NEW: call(doSomething, doSomething|<v1>) -> <v2>
null!!.doSomething() <v2>: * COPY
doSomething <v3>: * NEW: call(doSomething, doSomething) -> <v3>
bar().doSomething <v3>: * COPY
{ null!!.doSomething() bar().doSomething } <v3>: * COPY
=====================
null <v0>: * NEW: r(null) -> <v0>
null!! <v1>: * NEW: magic(null!!|<v0>) -> <v1>
doSomething() <v2>: * NEW: call(doSomething(), doSomething|<v1>) -> <v2>
null!!.doSomething() <v2>: * COPY
doSomething <v3>: * NEW: call(doSomething, doSomething) -> <v3>
bar().doSomething <v3>: * COPY
{ null!!.doSomething() bar().doSomething } <v3>: * COPY
=====================