Index: pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
index d6af687b7c46b5e3bfe0ab0b01c1a9ccf9a87a9e..40fa1b9aea0dcf8b970ebc8e32d45313e3a3140c 100644 |
--- a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
+++ b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
@@ -179,7 +179,33 @@ class CodeEmitterTask extends CompilerTask { |
return measure(() { |
Set<ClassEntity> rtiNeededClasses = _finalizeRti(); |
ProgramBuilder programBuilder = new ProgramBuilder( |
- compiler, namer, this, emitter, closedWorld, rtiNeededClasses); |
+ compiler.options, |
+ compiler.commonElements, |
+ compiler.types, |
+ compiler.deferredLoadTask, |
+ compiler.closureToClassMapper, |
+ compiler.codegenWorldBuilder, |
+ backend.nativeCodegenEnqueuer, |
+ backend.backendUsage, |
+ backend.constants, |
+ backend.nativeData, |
+ backend.rtiNeed, |
+ backend.mirrorsData, |
+ backend.interceptorData, |
+ backend.superMemberData, |
+ backend.rtiChecks, |
+ backend.rtiEncoder, |
+ backend.rtiSubstitutions, |
+ backend.jsInteropAnalysis, |
+ backend.oneShotInterceptorData, |
+ backend.customElementsCodegenAnalysis, |
+ backend.generatedCode, |
+ namer, |
+ this, |
+ closedWorld, |
+ rtiNeededClasses, |
+ compiler.mainFunction, |
+ isMockCompilation: compiler.isMockCompilation); |
int size = emitter.emitProgram(programBuilder); |
// TODO(floitsch): we shouldn't need the `neededClasses` anymore. |
neededClasses = programBuilder.collector.neededClasses; |