[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,
|
||||
): 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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user