Psi2ir: do not sort descriptors for fake override generation
Descriptors are already supposed to be sorted in scopes. The problem is that rendering descriptors for sorting takes a lot of time (~1.5% of total compilation time of intellij with JVM IR), and simple heuristics, like comparing by names first, don't fully help with it. #KT-48233
This commit is contained in:
+7
-7
@@ -57,18 +57,11 @@ FILE fqName:<root> fileName:/kt44855.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
PROPERTY FAKE_OVERRIDE name:qqq visibility:protected/*protected and package*/ modality:FINAL [fake_override,var]
|
||||
overridden:
|
||||
protected/*protected and package*/ final qqq: @[FlexibleNullability] kotlin.String? [var]
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean [fake_override,operator] declared in <root>.Parent
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:getQqq visibility:public modality:OPEN <> ($this:<root>.Parent) returnType:@[FlexibleNullability] kotlin.String? [fake_override]
|
||||
overridden:
|
||||
public open fun getQqq (): @[FlexibleNullability] kotlin.String? declared in <root>.Parent
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Parent
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int [fake_override] declared in <root>.Parent
|
||||
@@ -77,3 +70,10 @@ FILE fqName:<root> fileName:/kt44855.kt
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String [fake_override] declared in <root>.Parent
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:getQqq visibility:public modality:OPEN <> ($this:<root>.Parent) returnType:@[FlexibleNullability] kotlin.String? [fake_override]
|
||||
overridden:
|
||||
public open fun getQqq (): @[FlexibleNullability] kotlin.String? declared in <root>.Parent
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Parent
|
||||
PROPERTY FAKE_OVERRIDE name:qqq visibility:protected/*protected and package*/ modality:FINAL [fake_override,var]
|
||||
overridden:
|
||||
protected/*protected and package*/ final qqq: @[FlexibleNullability] kotlin.String? [var]
|
||||
|
||||
Reference in New Issue
Block a user