[EE-IR] Minor: run local function patching on all fragment code

This commit is contained in:
Kristoffer Andersen
2022-04-27 13:55:21 +02:00
committed by Alexander Udalov
parent def664eda9
commit 722d876675
@@ -55,8 +55,6 @@ internal class FragmentLocalFunctionPatchLowering(
}
override fun visitSimpleFunction(declaration: IrSimpleFunction): IrStatement {
if (declaration.name.asString() != GENERATED_FUNCTION_NAME) return declaration
declaration.body!!.transformChildrenVoid(object : IrElementTransformerVoidWithContext() {
override fun visitCall(expression: IrCall): IrExpression {
expression.transformChildrenVoid(this)