JVM_IR: reorganize initialization of JvmGeneratorExtensionsImpl
CachedFields are now created at initialization. Therefore we need CompilerConfiguration as a constructor parameter.
This commit is contained in:
committed by
TeamCityServer
parent
7bbc04b6a2
commit
20b76d4149
@@ -330,7 +330,7 @@ class KotlinBytecodeToolWindow(private val myProject: Project, private val toolW
|
||||
.generateDeclaredClassFilter(generateClassFilter)
|
||||
.codegenFactory(
|
||||
if (configuration.getBoolean(JVMConfigurationKeys.IR))
|
||||
JvmIrCodegenFactory(PhaseConfig(jvmPhases))
|
||||
JvmIrCodegenFactory(configuration, PhaseConfig(jvmPhases))
|
||||
else
|
||||
DefaultCodegenFactory
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user