diff --git a/compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.java b/compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.java index 9e739eaccc4..2f89e48af9a 100644 --- a/compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.java +++ b/compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/KotlinToJVMBytecodeCompiler.java @@ -277,23 +277,9 @@ public class KotlinToJVMBytecodeCompiler { AnalyzeExhaust exhaust ) { Project project = environment.getProject(); - final CompilerConfiguration configuration = environment.getConfiguration(); - Progress backendProgress = new Progress() { - @Override - public void reportOutput(@NotNull Collection sourceFiles, @Nullable File outputFile) { - if (outputFile == null) return; - - MessageCollector messageCollector = configuration.get(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY); - if (messageCollector == null) return; - - messageCollector.report( - CompilerMessageSeverity.OUTPUT, - OutputMessageUtil.formatOutputMessage(sourceFiles, outputFile), - CompilerMessageLocation.NO_LOCATION); - } - }; + CompilerConfiguration configuration = environment.getConfiguration(); GenerationState generationState = new GenerationState( - project, ClassBuilderFactories.BINARIES, backendProgress, exhaust.getBindingContext(), environment.getSourceFiles(), + project, ClassBuilderFactories.BINARIES, Progress.DEAF, exhaust.getBindingContext(), environment.getSourceFiles(), configuration.get(JVMConfigurationKeys.GENERATE_NOT_NULL_ASSERTIONS, false), configuration.get(JVMConfigurationKeys.GENERATE_NOT_NULL_PARAMETER_ASSERTIONS, false), /*generateDeclaredClasses = */true