[JS IR] Drop pirLowerings lowering list

This commit is contained in:
Alexander Korepanov
2023-06-07 16:11:26 +02:00
committed by Space Team
parent 983d319a6b
commit b04848d179
2 changed files with 1 additions and 4 deletions
@@ -956,9 +956,6 @@ val loweringList = listOf<Lowering>(
validateIrAfterLowering,
)
// TODO comment? Eliminate ModuleLowering's? Don't filter them here?
val pirLowerings = loweringList.filter { it is DeclarationLowering || it is BodyLowering } + staticMembersLoweringPhase
val jsPhases = SameTypeNamedCompilerPhase(
name = "IrModuleLowering",
description = "IR module lowering",
@@ -88,5 +88,5 @@ fun lowerPreservingTags(
lowering.modulePhase.invoke(phaseConfig, phaserState, context, modules)
}
controller.currentStage = pirLowerings.size + 1
controller.currentStage = loweringList.size + 1
}