[JS IR] Drop pirLowerings lowering list
This commit is contained in:
committed by
Space Team
parent
983d319a6b
commit
b04848d179
@@ -956,9 +956,6 @@ val loweringList = listOf<Lowering>(
|
|||||||
validateIrAfterLowering,
|
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(
|
val jsPhases = SameTypeNamedCompilerPhase(
|
||||||
name = "IrModuleLowering",
|
name = "IrModuleLowering",
|
||||||
description = "IR module lowering",
|
description = "IR module lowering",
|
||||||
|
|||||||
@@ -88,5 +88,5 @@ fun lowerPreservingTags(
|
|||||||
lowering.modulePhase.invoke(phaseConfig, phaserState, context, modules)
|
lowering.modulePhase.invoke(phaseConfig, phaserState, context, modules)
|
||||||
}
|
}
|
||||||
|
|
||||||
controller.currentStage = pirLowerings.size + 1
|
controller.currentStage = loweringList.size + 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user