[Native] Drop irCallOp from IrUtils2

It is not used anywhere
This commit is contained in:
Ivan Kylchik
2023-08-15 14:51:57 +02:00
committed by Space Team
parent 4376e58acb
commit a437e0378a
@@ -163,16 +163,6 @@ internal fun irCall(startOffset: Int, endOffset: Int, irFunction: IrSimpleFuncti
}
}
fun IrBuilderWithScope.irCallOp(
callee: IrFunction,
dispatchReceiver: IrExpression,
argument: IrExpression
) =
irCall(callee).apply {
this.dispatchReceiver = dispatchReceiver
putValueArgument(0, argument)
}
fun IrBuilderWithScope.irCatch(type: IrType) =
IrCatchImpl(
startOffset, endOffset,