[IR] Drop isNan fun from IrInterpreterCommonChecker
It is not used anymore after 858f432807
This commit is contained in:
-5
@@ -119,11 +119,6 @@ class IrInterpreterCommonChecker : IrInterpreterChecker {
|
||||
return body.kind == IrSyntheticBodyKind.ENUM_VALUES || body.kind == IrSyntheticBodyKind.ENUM_VALUEOF
|
||||
}
|
||||
|
||||
private fun IrConst<*>.isNaN(): Boolean {
|
||||
return this.kind == IrConstKind.Double && IrConstKind.Double.valueOf(this).isNaN() ||
|
||||
this.kind == IrConstKind.Float && IrConstKind.Float.valueOf(this).isNaN()
|
||||
}
|
||||
|
||||
override fun visitConst(expression: IrConst<*>, data: IrInterpreterCheckerData): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user