[IR] Remove unused Ir.irModule property

It is required for the Native backend refactoring
where `Context` does not contain a reference for any
particular IrModuleFragment.
This commit is contained in:
Sergey Bogolepov
2022-12-28 12:14:27 +02:00
committed by Space Team
parent 3355f04fa1
commit c22285f824
10 changed files with 9 additions and 17 deletions
@@ -284,7 +284,7 @@ open class JvmIrCodegenFactory(
val phases = if (evaluatorFragmentInfoForPsi2Ir != null) jvmFragmentLoweringPhases else jvmLoweringPhases
val phaseConfig = customPhaseConfig ?: PhaseConfig(phases)
val context = JvmBackendContext(
state, irModuleFragment.irBuiltins, irModuleFragment, symbolTable, phaseConfig, extensions, backendExtension, irSerializer,
state, irModuleFragment.irBuiltins, symbolTable, phaseConfig, extensions, backendExtension, irSerializer,
)
if (evaluatorFragmentInfoForPsi2Ir != null) {
context.localDeclarationsLoweringData = mutableMapOf()