KT-52178: Argument propagation into IR backend & lowering dump action
This commit is contained in:
committed by
Space Team
parent
5026778cd1
commit
55bfd3efcb
@@ -340,7 +340,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
if (arguments.wasm) {
|
||||
val (allModules, backendContext) = compileToLoweredIr(
|
||||
depsDescriptors = module,
|
||||
phaseConfig = PhaseConfig(wasmPhases),
|
||||
phaseConfig = createPhaseConfig(wasmPhases, arguments, messageCollector),
|
||||
irFactory = IrFactoryImpl,
|
||||
exportedDeclarations = setOf(FqName("main")),
|
||||
propertyLazyInitialization = arguments.irPropertyLazyInitialization,
|
||||
|
||||
+2
-1
@@ -742,5 +742,6 @@ val wasmPhases = SameTypeNamedCompilerPhase(
|
||||
virtualDispatchReceiverExtractionPhase then
|
||||
staticMembersLoweringPhase then
|
||||
inlineObjectsWithPureInitializationLoweringPhase then
|
||||
validateIrAfterLowering
|
||||
validateIrAfterLowering,
|
||||
actions = setOf(defaultDumper.toMultiModuleAction())
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user