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

Unified Diff: pkg/dart2js_incremental/lib/caching_compiler.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/dart2js_incremental/lib/caching_compiler.dart
diff --git a/pkg/dart2js_incremental/lib/caching_compiler.dart b/pkg/dart2js_incremental/lib/caching_compiler.dart
index 8bf1c64127c6f97ce89ecba7785f6568d2b4797d..44d56a6c21e69f6552dbd7780b98b32e7eb34c74 100644
--- a/pkg/dart2js_incremental/lib/caching_compiler.dart
+++ b/pkg/dart2js_incremental/lib/caching_compiler.dart
@@ -68,16 +68,6 @@ Future<CompilerImpl> reuseCompiler(
environment: environment));
backend = compiler.backend;
- full.Emitter emitter = backend.emitter.emitter;
-
- // Much like a scout, an incremental compiler is always prepared. For
- // mixins, classes, and lazy statics, at least.
- emitter
- ..needsClassSupport = true
- ..needsMixinSupport = true
- ..needsLazyInitializer = true
- ..needsStructuredMemberInfo = true;
-
Uri core = Uri.parse("dart:core");
return compiler.setupSdk().then((_) {
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/type_test_registry.dart ('k') | tests/compiler/dart2js/type_representation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698