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
@@ -1,48 +1,47 @@
FILE fqName:<root> fileName:/interfaceProperties.kt
CLASS INTERFACE name:C modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
PROPERTY name:test1 visibility:public modality:ABSTRACT flags:val
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:ABSTRACT <> ($this:C) returnType:kotlin.Int flags:
correspondingProperty: PROPERTY name:test1 visibility:public modality:ABSTRACT flags:val
$this: VALUE_PARAMETER name:<this> type:C flags:
PROPERTY name:test2 visibility:public modality:OPEN flags:val
FUN name:<get-test2> visibility:public modality:OPEN <> ($this:C) returnType:kotlin.Int flags:
correspondingProperty: PROPERTY name:test2 visibility:public modality:OPEN flags:val
$this: VALUE_PARAMETER name:<this> type:C flags:
CLASS INTERFACE name:C modality:ABSTRACT visibility:public flags:[] superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C flags:[]
PROPERTY name:test1 visibility:public modality:ABSTRACT flags:[val]
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:ABSTRACT <> ($this:<root>.C) returnType:kotlin.Int flags:[]
correspondingProperty: PROPERTY name:test1 visibility:public modality:ABSTRACT flags:[val]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
PROPERTY name:test2 visibility:public modality:OPEN flags:[val]
FUN name:<get-test2> visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Int flags:[]
correspondingProperty: PROPERTY name:test2 visibility:public modality:OPEN flags:[val]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
RETURN type=kotlin.Nothing from='FUN name:<get-test2> visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Int flags:[]'
CONST Int type=kotlin.Int value=0
PROPERTY name:test3 visibility:public modality:ABSTRACT flags:var
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:ABSTRACT <> ($this:C) returnType:kotlin.Int flags:
correspondingProperty: PROPERTY name:test3 visibility:public modality:ABSTRACT flags:var
$this: VALUE_PARAMETER name:<this> type:C flags:
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-test3> visibility:public modality:ABSTRACT <> ($this:C, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:
correspondingProperty: PROPERTY name:test3 visibility:public modality:ABSTRACT flags:var
$this: VALUE_PARAMETER name:<this> type:C flags:
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
PROPERTY name:test4 visibility:public modality:OPEN flags:var
FUN name:<get-test4> visibility:public modality:OPEN <> ($this:C) returnType:kotlin.Int flags:
correspondingProperty: PROPERTY name:test4 visibility:public modality:OPEN flags:var
$this: VALUE_PARAMETER name:<this> type:C flags:
PROPERTY name:test3 visibility:public modality:ABSTRACT flags:[var]
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:ABSTRACT <> ($this:<root>.C) returnType:kotlin.Int flags:[]
correspondingProperty: PROPERTY name:test3 visibility:public modality:ABSTRACT flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-test3> visibility:public modality:ABSTRACT <> ($this:<root>.C, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:[]
correspondingProperty: PROPERTY name:test3 visibility:public modality:ABSTRACT flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:[]
PROPERTY name:test4 visibility:public modality:OPEN flags:[var]
FUN name:<get-test4> visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Int flags:[]
correspondingProperty: PROPERTY name:test4 visibility:public modality:OPEN flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-test4>(): Int'
RETURN type=kotlin.Nothing from='FUN name:<get-test4> visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Int flags:[]'
CONST Int type=kotlin.Int value=0
FUN name:<set-test4> visibility:public modality:OPEN <> ($this:C, value:kotlin.Int) returnType:kotlin.Unit flags:
correspondingProperty: PROPERTY name:test4 visibility:public modality:OPEN flags:var
$this: VALUE_PARAMETER name:<this> type:C flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
FUN name:<set-test4> visibility:public modality:OPEN <> ($this:<root>.C, value:kotlin.Int) returnType:kotlin.Unit flags:[]
correspondingProperty: PROPERTY name:test4 visibility:public modality:OPEN flags:[var]
$this: VALUE_PARAMETER name:<this> type:<root>.C flags:[]
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:[]
BLOCK_BODY
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
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 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:[]