Index: pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
index c50717a9e1a97727c78c0044ba22094162b6aecf..1a2f8218fc30af48482d11297820d2eb1e6d04e7 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
@@ -20,6 +20,7 @@ import '../js_emitter.dart' show CodeEmitterTask, NativeEmitter; |
import '../js_emitter.dart' as emitterTask show EmitterBase, EmitterFactory; |
import '../model.dart'; |
import '../program_builder/program_builder.dart' show ProgramBuilder; |
+import '../sorter.dart' show Sorter; |
import 'model_emitter.dart'; |
class EmitterFactory implements emitterTask.EmitterFactory { |
@@ -31,8 +32,8 @@ class EmitterFactory implements emitterTask.EmitterFactory { |
bool get supportsReflection => false; |
@override |
- Emitter createEmitter( |
- CodeEmitterTask task, Namer namer, ClosedWorld closedWorld) { |
+ Emitter createEmitter(CodeEmitterTask task, Namer namer, |
+ ClosedWorld closedWorld, Sorter sorter) { |
return new Emitter(task.compiler, namer, task.nativeEmitter, closedWorld, |
task, generateSourceMap); |
} |