Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
index 7359c7f86ec00911e735ecc6fc2173a1020202a2..81d7588931a0d29245f9f34b89a8868e4665194a 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
@@ -179,7 +179,14 @@ class Emitter implements js_emitter.Emitter { |
interceptorEmitter = new InterceptorEmitter(_closedWorld), |
nsmEmitter = new NsmEmitter(_closedWorld) { |
constantEmitter = new ConstantEmitter( |
- compiler, namer, this.constantReference, constantListGenerator); |
+ compiler.options, |
+ _closedWorld.commonElements, |
+ compiler.backend.rtiNeed, |
+ compiler.backend.rtiEncoder, |
+ namer, |
+ task, |
+ this.constantReference, |
+ constantListGenerator); |
containerBuilder.emitter = this; |
classEmitter.emitter = this; |
nsmEmitter.emitter = this; |