[K/JS] Rework IR deserialization and lowering phases to consume less memory
This commit is contained in:
@@ -560,6 +560,7 @@ class GenerateIrRuntime {
|
||||
.generateUnboundSymbolsAsDependencies()
|
||||
|
||||
jsLinker.postProcess(inOrAfterLinkageStep = true)
|
||||
jsLinker.clear()
|
||||
|
||||
moduleFragment.patchDeclarationParents()
|
||||
|
||||
@@ -586,6 +587,7 @@ class GenerateIrRuntime {
|
||||
.generateUnboundSymbolsAsDependencies()
|
||||
|
||||
jsLinker.postProcess(inOrAfterLinkageStep = true)
|
||||
jsLinker.clear()
|
||||
|
||||
moduleFragment.patchDeclarationParents()
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.jetbrains.kotlin.test.model.TestModule
|
||||
import org.jetbrains.kotlin.test.services.*
|
||||
import org.jetbrains.kotlin.test.services.configuration.JsEnvironmentConfigurator
|
||||
import org.jetbrains.kotlin.test.services.configuration.JsEnvironmentConfigurator.Companion.getMainModule
|
||||
import org.jetbrains.kotlin.util.collectionUtils.filterIsInstanceAnd
|
||||
import org.jetbrains.kotlin.utils.filterIsInstanceAnd
|
||||
import java.io.File
|
||||
|
||||
const val MODULE_EMULATION_FILE = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/moduleEmulation.js"
|
||||
|
||||
Reference in New Issue
Block a user