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

Unified Diff: pkg/compiler/lib/src/js_emitter/code_emitter_task.dart

Issue 1226733010: dart2js: Remove oldEmitter field in emitter-task. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/use_unused_api.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b3d7bc95454f487095bbfa1a54fea7b428ab02d6..9d700b3480bb1f42801ebb94f2add4b723a93758 100644
--- a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart
+++ b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart
@@ -18,7 +18,6 @@ class CodeEmitterTask extends CompilerTask {
final TypeTestRegistry typeTestRegistry;
NativeEmitter nativeEmitter;
MetadataCollector metadataCollector;
- OldEmitter oldEmitter;
Emitter emitter;
/// Records if a type variable is read dynamically for type tests.
@@ -39,10 +38,9 @@ class CodeEmitterTask extends CompilerTask {
this.namer = namer,
this.typeTestRegistry = new TypeTestRegistry(compiler) {
nativeEmitter = new NativeEmitter(this);
- oldEmitter = new OldEmitter(compiler, namer, generateSourceMap, this);
emitter = USE_LAZY_EMITTER
? new lazy_js_emitter.Emitter(compiler, namer, nativeEmitter)
- : oldEmitter;
+ : new OldEmitter(compiler, namer, generateSourceMap, this);
metadataCollector = new MetadataCollector(compiler, emitter);
}
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/use_unused_api.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698