[FIR2IR] Make ExternalPackageParentPatcher a lowering
This is needed for two reasons: 1. Consistency 2. It should run after compiler plugins, which are now runs after fir2ir is finished for all modules ^KT-56173
This commit is contained in:
committed by
Space Team
parent
8e73d5a54a
commit
fd87d722c1
+2
-1
@@ -331,7 +331,8 @@ open class JvmIrCodegenFactory(
|
||||
val phases = if (evaluatorFragmentInfoForPsi2Ir != null) jvmFragmentLoweringPhases else jvmLoweringPhases
|
||||
val phaseConfig = customPhaseConfig ?: PhaseConfig(phases)
|
||||
val context = JvmBackendContext(
|
||||
state, irModuleFragment.irBuiltins, symbolTable, phaseConfig, extensions, backendExtension, irSerializer, irPluginContext
|
||||
state, irModuleFragment.irBuiltins, symbolTable, phaseConfig, extensions,
|
||||
backendExtension, irSerializer, JvmIrDeserializerImpl(), irProviders, irPluginContext
|
||||
)
|
||||
if (evaluatorFragmentInfoForPsi2Ir != null) {
|
||||
context.localDeclarationsLoweringData = mutableMapOf()
|
||||
|
||||
Reference in New Issue
Block a user