JVM IR: minor, add toString for FunctionHandleForIrFunction
Useful for debugging problems in BridgeLowering.
This commit is contained in:
@@ -462,6 +462,9 @@ private class BridgeLowering(val context: JvmBackendContext) : ClassLoweringPass
|
|||||||
other is FunctionHandleForIrFunction &&
|
other is FunctionHandleForIrFunction &&
|
||||||
irFunction.parent.safeAs<IrClass>()?.fqNameWhenAvailable == other.irFunction.parent.safeAs<IrClass>()?.fqNameWhenAvailable &&
|
irFunction.parent.safeAs<IrClass>()?.fqNameWhenAvailable == other.irFunction.parent.safeAs<IrClass>()?.fqNameWhenAvailable &&
|
||||||
irFunction.getJvmSignature() == other.irFunction.getJvmSignature()
|
irFunction.getJvmSignature() == other.irFunction.getJvmSignature()
|
||||||
|
|
||||||
|
override fun toString(): String =
|
||||||
|
irFunction.render()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun IrSimpleFunction.findConcreteSuperDeclaration(): IrSimpleFunction? {
|
fun IrSimpleFunction.findConcreteSuperDeclaration(): IrSimpleFunction? {
|
||||||
|
|||||||
Reference in New Issue
Block a user