[Native] Move BuiltinOperatorLowering to a later stage of the lowerings pipeline

This would allow using unlowered operator symbols from IrBuiltIns in all lowerings before BuiltinOperatorLowering.
This commit is contained in:
Dmitriy Dolovov
2023-02-07 18:08:47 +01:00
committed by Space Team
parent 42b08d411b
commit 469a2315fc
@@ -521,7 +521,6 @@ private fun PhaseEngine<NativeGenerationState>.getAllLowerings() = listOfNotNull
functionReferencePhase,
singleAbstractMethodPhase,
enumWhenPhase,
builtinOperatorPhase,
finallyBlocksPhase,
enumClassPhase,
enumUsagePhase,
@@ -534,6 +533,7 @@ private fun PhaseEngine<NativeGenerationState>.getAllLowerings() = listOfNotNull
objectClassesPhase,
constantInliningPhase,
staticInitializersPhase,
builtinOperatorPhase,
bridgesPhase,
exportInternalAbiPhase.takeIf { context.config.produce.isCache },
useInternalAbiPhase,