[JS IR] Pass dirty files into backend and load IR for them only
This commit is contained in:
committed by
TeamCityServer
parent
43bfe2333c
commit
4bd6e8a034
@@ -54,6 +54,7 @@ fun compile(
|
||||
lowerPerModule: Boolean = false,
|
||||
safeExternalBoolean: Boolean = false,
|
||||
safeExternalBooleanDiagnostic: RuntimeDiagnostic? = null,
|
||||
filesToLower: Set<String>? = null
|
||||
): CompilerResult {
|
||||
|
||||
if (lowerPerModule) {
|
||||
@@ -75,7 +76,7 @@ fun compile(
|
||||
}
|
||||
|
||||
val (moduleFragment: IrModuleFragment, dependencyModules, irBuiltIns, symbolTable, deserializer, moduleToName) =
|
||||
loadIr(depsDescriptors, irFactory, verifySignatures)
|
||||
loadIr(depsDescriptors, irFactory, verifySignatures, filesToLower)
|
||||
val mainModule = depsDescriptors.mainModule
|
||||
val configuration = depsDescriptors.compilerConfiguration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user