Index: pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart |
index e425a099fcee30fb3b4941608d6e2cb3b9bac6cf..653f36cf5f63d9602f877d313d683c2e4e6a243f 100644 |
--- a/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart |
@@ -15,7 +15,6 @@ import '../../elements/elements.dart' |
import '../../elements/entities.dart'; |
import '../../js/js.dart' as js; |
import '../../js_backend/js_backend.dart' show JavaScriptBackend, Namer; |
-import '../../js_backend/interceptor_data.dart' show InterceptorData; |
import '../../world.dart' show ClosedWorld; |
import '../js_emitter.dart' show CodeEmitterTask, NativeEmitter; |
import '../js_emitter.dart' as emitterTask show Emitter, EmitterFactory; |
@@ -31,7 +30,7 @@ class EmitterFactory implements emitterTask.EmitterFactory { |
Emitter createEmitter( |
CodeEmitterTask task, Namer namer, ClosedWorld closedWorld) { |
return new Emitter( |
- task.compiler, namer, task.nativeEmitter, closedWorld.interceptorData); |
+ task.compiler, namer, task.nativeEmitter, closedWorld, task); |
} |
} |
@@ -43,11 +42,11 @@ class Emitter implements emitterTask.Emitter { |
JavaScriptBackend get _backend => _compiler.backend; |
Emitter(Compiler compiler, Namer namer, NativeEmitter nativeEmitter, |
- InterceptorData interceptorData) |
+ ClosedWorld closedWorld, CodeEmitterTask task) |
: this._compiler = compiler, |
this.namer = namer, |
_emitter = |
- new ModelEmitter(compiler, namer, nativeEmitter, interceptorData); |
+ new ModelEmitter(compiler, namer, nativeEmitter, closedWorld, task); |
DiagnosticReporter get reporter => _compiler.reporter; |