Pseudocode: Do not bind call value to callee expressions
This commit is contained in:
@@ -5,8 +5,7 @@ fun Any?.doSomething() {}
|
||||
== bar ==
|
||||
fun bar(): Nothing = throw Exception()
|
||||
---------------------
|
||||
Exception <v0> NEW()
|
||||
Exception() <v0> COPY
|
||||
Exception() <v0> NEW()
|
||||
=====================
|
||||
== foo ==
|
||||
fun foo() {
|
||||
@@ -16,9 +15,8 @@ fun foo() {
|
||||
---------------------
|
||||
null <v0> NEW()
|
||||
null!! <v1> NEW(<v0>)
|
||||
doSomething <v2> NEW(<v1>)
|
||||
doSomething() <v2> COPY
|
||||
null!!.doSomething() <v2> COPY
|
||||
doSomething() <v2> NEW(<v1>)
|
||||
null!!.doSomething() <v2> COPY
|
||||
doSomething <v3> NEW()
|
||||
bar().doSomething <v3> COPY
|
||||
{ null!!.doSomething() bar().doSomething } <v3> COPY
|
||||
|
||||
Reference in New Issue
Block a user