[JS IR] Fixes after rebase

This commit is contained in:
Ilya Goncharov
2021-05-19 20:24:46 +03:00
committed by TeamCityServer
parent d65cbdf44d
commit f40110eb83
3 changed files with 2 additions and 3 deletions
@@ -56,7 +56,7 @@ fun compile(
baseClassIntoMetadata: Boolean = false,
): CompilerResult {
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
@@ -284,7 +284,7 @@ fun loadIr(
val deserializedModuleFragments = sortDependencies(allDependencies.getFullList(), depsDescriptors.descriptors).map { klib ->
val strategy =
if (it == mainModule.lib)
if (klib == mainModule.lib)
DeserializationStrategy.ALL
else
DeserializationStrategy.EXPLICITLY_EXPORTED
-1
View File
@@ -16,7 +16,6 @@ where advanced options include:
Print declarations' reachability info to stdout during performing DCE
-Xir-dce-runtime-diagnostic={log|exception}
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-module-name=<name> Specify a compilation module name for IR backend
-Xir-only Disables pre-IR backend