Files
kotlin-fork/compiler/testData/cfg/declarations/properties/DelegatedProperty.instructions
T
2014-06-03 18:17:05 +04:00

64 lines
1.3 KiB
Plaintext

== Delegate ==
class Delegate {
fun get(_this: Any, p: PropertyMetadata): Int = 0
}
---------------------
L0:
1 <START>
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== get ==
fun get(_this: Any, p: PropertyMetadata): Int = 0
---------------------
L0:
1 <START>
v(_this: Any)
magic(_this: Any) -> <v0>
w(_this|<v0>)
v(p: PropertyMetadata)
magic(p: PropertyMetadata) -> <v1>
w(p|<v1>)
r(0) -> <v2>
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== a ==
val a = Delegate()
---------------------
L0:
1 <START>
v(val a = Delegate())
mark(Delegate())
call(Delegate, <init>) -> <v0>
w(a|<v0>)
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== b ==
val b by a
---------------------
L0:
1 <START>
v(val b by a)
r(a) -> <v0>
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================