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

Unified Diff: pkg/compiler/lib/src/enqueue.dart

Issue 1422323007: dart2js: use WorldImpact for dump_info (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index 2fef15ca51747063da26d524ccd0679786aa8824..5a085e375f4aa43886a3d46ec7b31fa92aeb6d53 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -888,8 +888,8 @@ class ResolutionEnqueuer extends Enqueuer {
/// [Enqueuer] which is specific to code generation.
class CodegenEnqueuer extends Enqueuer {
final Queue<CodegenWorkItem> queue;
- final Map<Element, js.Expression> generatedCode =
- new Map<Element, js.Expression>();
+ final Map<Element, js.Expression> generatedCode = <Element, js.Expression>{};
+ final Map<Element, WorldImpact> impacts = <Element, WorldImpact>{};
Siggi Cherem (dart-lang) 2015/11/12 01:10:59 since this is only used by dump-info, how about st
Harry Terkelsen 2015/11/12 01:25:40 Johnni and I talked about this today. Johnni is wo
final Set<Element> newlyEnqueuedElements;

Powered by Google App Engine
This is Rietveld 408576698