Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 2873633002: Pass data objects to ConstantEmitter (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « pkg/compiler/lib/src/js_backend/constant_emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698