[JS IR] advance stage in regular mode when needed
This commit is contained in:
committed by
TeamCityServer
parent
7d7dd3fe97
commit
ff02ea5840
@@ -187,7 +187,9 @@ fun compileIr(
|
|||||||
}
|
}
|
||||||
irFactory.stageController = object : StageController(irFactory.stageController.currentStage) {}
|
irFactory.stageController = object : StageController(irFactory.stageController.currentStage) {}
|
||||||
} else {
|
} else {
|
||||||
jsPhases.invokeToplevel(phaseConfig, context, allModules)
|
(irFactory.stageController as? WholeWorldStageController)?.let {
|
||||||
|
lowerPreservingTags(allModules, context, phaseConfig, it)
|
||||||
|
} ?: jsPhases.invokeToplevel(phaseConfig, context, allModules)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user