IR: don't use descriptors in rendering (work in progress)

There's some descriptor-based code remaining. Need some more work on IR.
This commit is contained in:
Dmitry Petrov
2019-03-14 14:17:26 +03:00
parent bd3d5a9dbb
commit e49eae528c
319 changed files with 18613 additions and 18703 deletions
+149 -149
View File
@@ -1,193 +1,193 @@
FILE fqName:<root> fileName:/objectReference.kt
CLASS OBJECT name:Z modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Z flags:
CONSTRUCTOR visibility:private <> () returnType:Z flags:primary
CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Z flags:[]
CONSTRUCTOR visibility:private <> () returnType:<root>.Z flags:[primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
PROPERTY name:counter visibility:public modality:FINAL flags:var
FIELD PROPERTY_BACKING_FIELD name:counter type:kotlin.Int visibility:public flags:
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]'
PROPERTY name:counter visibility:public modality:FINAL flags:[var]
FIELD PROPERTY_BACKING_FIELD name:counter type:kotlin.Int visibility:public flags:[]
EXPRESSION_BODY
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-counter> visibility:public modality:FINAL <> ($this:Z) returnType:kotlin.Int flags:
correspondingProperty: PROPERTY name:counter visibility:public modality:FINAL flags:var
$this: VALUE_PARAMETER name:<this> type:Z flags:
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-counter> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Int flags:[]
correspondingProperty: PROPERTY name:counter visibility:public modality:FINAL flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-counter>(): Int'
GET_FIELD 'counter: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Z: Z' type=Z origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:
correspondingProperty: PROPERTY name:counter visibility:public modality:FINAL flags:var
$this: VALUE_PARAMETER name:<this> type:Z flags:
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-counter> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Int flags:[]'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:counter type:kotlin.Int visibility:public flags:[]' type=kotlin.Int origin=null
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]
correspondingProperty: PROPERTY name:counter visibility:public modality:FINAL flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:[]
BLOCK_BODY
SET_FIELD 'counter: Int' type=kotlin.Unit origin=null
receiver: GET_VAR 'this@Z: Z' type=Z origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN name:foo visibility:public modality:FINAL <> ($this:Z) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Z flags:
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:counter type:kotlin.Int visibility:public flags:[]' type=kotlin.Unit origin=null
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
value: GET_VAR 'VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
FUN name:bar visibility:public modality:FINAL <> ($this:Z) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Z flags:
FUN name:bar visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR 'this@Z: Z' type=Z origin=null
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@Z: Z' type=Z origin=null
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CLASS CLASS name:Nested modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Z.Nested flags:
CONSTRUCTOR visibility:public <> () returnType:Z.Nested flags:primary
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CLASS CLASS name:Nested modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Z.Nested flags:[]
CONSTRUCTOR visibility:public <> () returnType:<root>.Z.Nested flags:[primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Nested'
ANONYMOUS_INITIALIZER Nested
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Nested modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]'
ANONYMOUS_INITIALIZER isStatic=false
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
FUN name:test visibility:public modality:FINAL <> ($this:Z.Nested) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Z.Nested flags:
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
FUN name:test visibility:public modality:FINAL <> ($this:<root>.Z.Nested) returnType:kotlin.Unit flags:[]
$this: VALUE_PARAMETER name:<this> type:<root>.Z.Nested flags:[]
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
PROPERTY name:aLambda visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:aLambda type:kotlin.Function0<kotlin.Unit> visibility:public flags:final
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
PROPERTY name:aLambda visibility:public modality:FINAL flags:[val]
FIELD PROPERTY_BACKING_FIELD name:aLambda type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final]
EXPRESSION_BODY
BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-aLambda> visibility:public modality:FINAL <> ($this:Z) returnType:kotlin.Function0<kotlin.Unit> flags:
correspondingProperty: PROPERTY name:aLambda visibility:public modality:FINAL flags:val
$this: VALUE_PARAMETER name:<this> type:Z flags:
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-aLambda> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Function0<kotlin.Unit> flags:[]
correspondingProperty: PROPERTY name:aLambda visibility:public modality:FINAL flags:[val]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-aLambda>(): () -> Unit'
GET_FIELD 'aLambda: () -> Unit' type=kotlin.Function0<kotlin.Unit> origin=null
receiver: GET_VAR 'this@Z: Z' type=Z origin=null
PROPERTY name:anObject visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:anObject type:kotlin.Any visibility:public flags:final
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-aLambda> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Function0<kotlin.Unit> flags:[]'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:aLambda type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final]' type=kotlin.Function0<kotlin.Unit> origin=null
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
PROPERTY name:anObject visibility:public modality:FINAL flags:[val]
FIELD PROPERTY_BACKING_FIELD name:anObject type:kotlin.Any visibility:public flags:[final]
EXPRESSION_BODY
BLOCK type=Z.anObject.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS name:<no name provided> modality:FINAL visibility:local flags: superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Z.anObject.<no name provided> flags:
CONSTRUCTOR visibility:public <> () returnType:Z.anObject.<no name provided> flags:primary
BLOCK type=<root>.Z.anObject.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS name:<no name provided> modality:FINAL visibility:local flags:[] superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Z.anObject.<no name provided> flags:[]
CONSTRUCTOR visibility:public <> () returnType:<root>.Z.anObject.<no name provided> flags:[primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
ANONYMOUS_INITIALIZER <no name provided>
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:<no name provided> modality:FINAL visibility:local flags:[] superTypes:[kotlin.Any]'
ANONYMOUS_INITIALIZER isStatic=false
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
FUN name:test visibility:public modality:FINAL <> ($this:Z.anObject.<no name provided>) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Z.anObject.<no name provided> flags:
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
FUN name:test visibility:public modality:FINAL <> ($this:<root>.Z.anObject.<no name provided>) returnType:kotlin.Unit flags:[]
$this: VALUE_PARAMETER name:<this> type:<root>.Z.anObject.<no name provided> flags:[]
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
CALL 'constructor <no name provided>()' type=Z.anObject.<no name provided> origin=OBJECT_LITERAL
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anObject> visibility:public modality:FINAL <> ($this:Z) returnType:kotlin.Any flags:
correspondingProperty: PROPERTY name:anObject visibility:public modality:FINAL flags:val
$this: VALUE_PARAMETER name:<this> type:Z flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
CALL 'CONSTRUCTOR visibility:public <> () returnType:<root>.Z.anObject.<no name provided> flags:[primary]' type=<root>.Z.anObject.<no name provided> origin=OBJECT_LITERAL
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anObject> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Any flags:[]
correspondingProperty: PROPERTY name:anObject visibility:public modality:FINAL flags:[val]
$this: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-anObject>(): Any'
GET_FIELD 'anObject: Any' type=kotlin.Any origin=null
receiver: GET_VAR 'this@Z: Z' type=Z origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anObject> visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Any flags:[]'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:anObject type:kotlin.Any visibility:public flags:[final]' type=kotlin.Any origin=null
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN name:test visibility:public modality:FINAL <> ($receiver:Z) returnType:kotlin.Unit flags:
$receiver: VALUE_PARAMETER name:<this> type:Z flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
FUN name:test visibility:public modality:FINAL <> ($receiver:<root>.Z) returnType:kotlin.Unit flags:[]
$receiver: VALUE_PARAMETER name:<this> type:<root>.Z flags:[]
BLOCK_BODY
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR 'this@test: Z' type=Z origin=null
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@test: Z' type=Z origin=null
CALL '<set-counter>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.Z flags:[]' type=<root>.Z origin=null
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<set-counter> visibility:public modality:FINAL <> ($this:<root>.Z, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z
<set-?>: CONST Int type=kotlin.Int value=1
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
CALL 'FUN name:foo visibility:public modality:FINAL <> ($this:<root>.Z) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
$this: GET_OBJECT 'CLASS OBJECT name:Z modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.Z