Files
kotlin-fork/compiler/testData/cfg/declarations/properties/DelegatedProperty.instructions
T
2014-03-07 21:08:16 +04:00

62 lines
1.1 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)
w(_this)
v(p: PropertyMetadata)
w(p)
r(0)
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>)
w(a)
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)
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================