KT-45777: Replace EmptyICReporter with DoNothingICReporter
to be more consistent (every *Reporter has a DoNothing*Reporter). ^KT-45777 In Progress
This commit is contained in:
@@ -18,8 +18,7 @@ import org.jetbrains.kotlin.backend.common.serialization.CompatibilityMode
|
||||
import org.jetbrains.kotlin.backend.common.serialization.KlibIrVersion
|
||||
import org.jetbrains.kotlin.backend.common.serialization.metadata.KlibMetadataVersion
|
||||
import org.jetbrains.kotlin.backend.common.serialization.signature.IdSignatureDescriptor
|
||||
import org.jetbrains.kotlin.build.report.BuildReporter
|
||||
import org.jetbrains.kotlin.build.report.metrics.DoNothingBuildMetricsReporter
|
||||
import org.jetbrains.kotlin.build.report.DoNothingBuildReporter
|
||||
import org.jetbrains.kotlin.cli.common.arguments.K2JSCompilerArguments
|
||||
import org.jetbrains.kotlin.cli.common.messages.MessageCollector
|
||||
import org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles
|
||||
@@ -28,7 +27,6 @@ import org.jetbrains.kotlin.config.*
|
||||
import org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl
|
||||
import org.jetbrains.kotlin.descriptors.konan.kotlinLibrary
|
||||
import org.jetbrains.kotlin.incremental.ChangedFiles
|
||||
import org.jetbrains.kotlin.incremental.EmptyICReporter
|
||||
import org.jetbrains.kotlin.incremental.IncrementalJsCompilerRunner
|
||||
import org.jetbrains.kotlin.incremental.multiproject.EmptyModulesApiHistory
|
||||
import org.jetbrains.kotlin.incremental.withJsIC
|
||||
@@ -322,7 +320,7 @@ class GenerateIrRuntime {
|
||||
withJsIC(args) {
|
||||
val buildHistoryFile = File(cachesDir, "build-history.bin")
|
||||
val compiler = IncrementalJsCompilerRunner(
|
||||
cachesDir, BuildReporter(EmptyICReporter, DoNothingBuildMetricsReporter),
|
||||
cachesDir, DoNothingBuildReporter,
|
||||
buildHistoryFile = buildHistoryFile,
|
||||
modulesApiHistory = EmptyModulesApiHistory
|
||||
)
|
||||
@@ -366,7 +364,7 @@ class GenerateIrRuntime {
|
||||
withJsIC(args) {
|
||||
val buildHistoryFile = File(cachesDir, "build-history.bin")
|
||||
val compiler = IncrementalJsCompilerRunner(
|
||||
cachesDir, BuildReporter(EmptyICReporter, DoNothingBuildMetricsReporter),
|
||||
cachesDir, DoNothingBuildReporter,
|
||||
buildHistoryFile = buildHistoryFile,
|
||||
modulesApiHistory = EmptyModulesApiHistory
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user