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 1dc8b95239e32691b5ae61d834c3a0aab31dce1e..24d6fb9b0e68b3250cde93d80c6fe60cf2f62de4 100644 |
--- a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
+++ b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart |
@@ -168,8 +168,8 @@ class CodeEmitterTask extends CompilerTask { |
void createEmitter(Namer namer, ClosedWorld closedWorld, |
CodegenWorldBuilder codegenWorldBuilder) { |
measure(() { |
- _nativeEmitter = new NativeEmitter( |
- this, closedWorld.nativeData, closedWorld.interceptorData); |
+ _nativeEmitter = new NativeEmitter(this, closedWorld, codegenWorldBuilder, |
+ backend.nativeCodegenEnqueuer); |
_emitter = _emitterFactory.createEmitter(this, namer, closedWorld); |
metadataCollector = new MetadataCollector( |
compiler.options, |