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

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

Issue 2568723007: Create Namer and Emitter on codegen start. (Closed)
Patch Set: Small fix. Created 4 years 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/class_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
index 5a6fb44effa7a0dc76fb1ac47806d2f5bfb7657a..3f813ad9e3e39367a4f1a73557d5e005533ad488 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart
@@ -5,8 +5,13 @@
part of dart2js.js_emitter.full_emitter;
class ClassEmitter extends CodeEmitterHelper {
+ final ClosedWorld closedWorld;
+
+ ClassEmitter(this.closedWorld);
+
ClassStubGenerator get _stubGenerator =>
- new ClassStubGenerator(compiler, namer, backend);
+ new ClassStubGenerator(namer, backend, codegenWorld, closedWorld,
+ enableMinification: compiler.options.enableMinification);
/**
* Documentation wanted -- johnniwinther

Powered by Google App Engine
This is Rietveld 408576698