[IR] Drop excess resolveFakeOverride from EVALUATION_MODE
This change doesn't affect semantic and speeds up backend by approximately 0.06%.
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ enum class EvaluationMode {
|
||||
|
||||
private fun IrFunction?.isCompileTimePropertyAccessor(): Boolean {
|
||||
val property = this?.property ?: return false
|
||||
return property.isConst || (property.resolveFakeOverride() ?: property).isMarkedAsIntrinsicConstEvaluation()
|
||||
return property.isConst || property.isMarkedAsIntrinsicConstEvaluation()
|
||||
}
|
||||
|
||||
override fun canEvaluateBlock(block: IrBlock): Boolean = block.origin == IrStatementOrigin.WHEN || block.statements.size == 1
|
||||
|
||||
Reference in New Issue
Block a user