[FIR] Minor: Unify all create*Session functions across all factories
Rename: createJsLibrarySession -> createLibrarySession Rename: createJsModuleBasedSession -> createModuleBasedSession
This commit is contained in:
committed by
Space Team
parent
a9bac2f18b
commit
199b0e8cbe
@@ -510,7 +510,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
val logger = configuration.resolverLogger
|
||||
val resolvedLibraries = jsResolveLibraries(libraries + friendLibraries, logger).getFullResolvedList()
|
||||
|
||||
FirJsSessionFactory.createJsLibrarySession(
|
||||
FirJsSessionFactory.createLibrarySession(
|
||||
escapedMainModuleName,
|
||||
resolvedLibraries,
|
||||
sessionProvider,
|
||||
@@ -549,7 +549,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
}
|
||||
|
||||
val commonSession = runIf(isMppEnabled) {
|
||||
FirJsSessionFactory.createJsModuleBasedSession(
|
||||
FirJsSessionFactory.createModuleBasedSession(
|
||||
commonModuleData!!,
|
||||
sessionProvider,
|
||||
extensionRegistrars,
|
||||
@@ -559,7 +559,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
init = sessionConfigurator,
|
||||
)
|
||||
}
|
||||
val platformSession = FirJsSessionFactory.createJsModuleBasedSession(
|
||||
val platformSession = FirJsSessionFactory.createModuleBasedSession(
|
||||
mainModuleData,
|
||||
sessionProvider,
|
||||
extensionRegistrars,
|
||||
|
||||
Reference in New Issue
Block a user