[JS IR] Fixes after rebase
This commit is contained in:
committed by
TeamCityServer
parent
d65cbdf44d
commit
f40110eb83
@@ -56,7 +56,7 @@ fun compile(
|
|||||||
baseClassIntoMetadata: Boolean = false,
|
baseClassIntoMetadata: Boolean = false,
|
||||||
): CompilerResult {
|
): CompilerResult {
|
||||||
val (moduleFragment: IrModuleFragment, dependencyModules, irBuiltIns, symbolTable, deserializer, moduleToName) =
|
val (moduleFragment: IrModuleFragment, dependencyModules, irBuiltIns, symbolTable, deserializer, moduleToName) =
|
||||||
loadIr(project, mainModule, analyzer, configuration, allDependencies, friendDependencies, irFactory, forceAllJs)
|
loadIr(project, mainModule, analyzer, configuration, allDependencies, friendDependencies, irFactory)
|
||||||
|
|
||||||
val moduleDescriptor = moduleFragment.descriptor
|
val moduleDescriptor = moduleFragment.descriptor
|
||||||
|
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ fun loadIr(
|
|||||||
|
|
||||||
val deserializedModuleFragments = sortDependencies(allDependencies.getFullList(), depsDescriptors.descriptors).map { klib ->
|
val deserializedModuleFragments = sortDependencies(allDependencies.getFullList(), depsDescriptors.descriptors).map { klib ->
|
||||||
val strategy =
|
val strategy =
|
||||||
if (it == mainModule.lib)
|
if (klib == mainModule.lib)
|
||||||
DeserializationStrategy.ALL
|
DeserializationStrategy.ALL
|
||||||
else
|
else
|
||||||
DeserializationStrategy.EXPLICITLY_EXPORTED
|
DeserializationStrategy.EXPLICITLY_EXPORTED
|
||||||
|
|||||||
-1
@@ -16,7 +16,6 @@ where advanced options include:
|
|||||||
Print declarations' reachability info to stdout during performing DCE
|
Print declarations' reachability info to stdout during performing DCE
|
||||||
-Xir-dce-runtime-diagnostic={log|exception}
|
-Xir-dce-runtime-diagnostic={log|exception}
|
||||||
Enable runtime diagnostics when performing DCE instead of removing declarations
|
Enable runtime diagnostics when performing DCE instead of removing declarations
|
||||||
-Xir-force-all-js Compile all the code unconditionally
|
|
||||||
-Xir-legacy-property-access Force property access via JS properties (requires -Xir-export-all)
|
-Xir-legacy-property-access Force property access via JS properties (requires -Xir-export-all)
|
||||||
-Xir-module-name=<name> Specify a compilation module name for IR backend
|
-Xir-module-name=<name> Specify a compilation module name for IR backend
|
||||||
-Xir-only Disables pre-IR backend
|
-Xir-only Disables pre-IR backend
|
||||||
|
|||||||
Reference in New Issue
Block a user