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

This reverts commit 722d876675.
Unfortunately, this commit breaks debugger tests in intellij part
This commit is contained in:
Mikhail Zarechenskiy
2022-05-04 12:51:08 +02:00
parent e1dd8d3868
commit 677ec12b50
@@ -55,6 +55,8 @@ 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)