[Wasm] Don't squish modules together

This commit is contained in:
Igor Laevsky
2022-01-27 21:30:48 +02:00
committed by TeamCityServer
parent 259d6b82c4
commit 4e84e14d34
6 changed files with 52 additions and 31 deletions
@@ -200,7 +200,7 @@ abstract class BasicWasmBoxTest(
jsFilesBefore: List<String>,
jsFilesAfter: List<String>,
) {
val (moduleFragment, backendContext) = compileToLoweredIr(
val (allModules, backendContext) = compileToLoweredIr(
depsDescriptors = sourceModule,
phaseConfig = phaseConfig,
irFactory = IrFactoryImpl,
@@ -209,7 +209,7 @@ abstract class BasicWasmBoxTest(
)
val compilerResult = compileWasm(
moduleFragment = moduleFragment,
allModules = allModules,
backendContext = backendContext,
emitNameSection = true,
dceEnabled = dceEnabled,