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

Unified Diff: pkg/compiler/lib/src/resolution/tree_elements.dart

Issue 1220043005: dart2js send stats, includes: (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
Index: pkg/compiler/lib/src/resolution/tree_elements.dart
diff --git a/pkg/compiler/lib/src/resolution/tree_elements.dart b/pkg/compiler/lib/src/resolution/tree_elements.dart
index 993c3cc1ea78d268ca24d593eb33660fc7537d1a..44248937f0d49eebce353b434b07e075b97f32cb 100644
--- a/pkg/compiler/lib/src/resolution/tree_elements.dart
+++ b/pkg/compiler/lib/src/resolution/tree_elements.dart
@@ -17,6 +17,7 @@ abstract class TreeElements {
Iterable<Element> get otherDependencies;
Element operator[](Node node);
+ Map<Node, DartType> get typesCache;
SendStructure getSendStructure(Send send);
@@ -100,6 +101,7 @@ class TreeElementMapping extends TreeElements {
Map<Spannable, Selector> _selectors;
Map<Spannable, TypeMask> _typeMasks;
Map<Node, DartType> _types;
+ Map<Node, DartType> typesCache = <Node, DartType>{};
Setlet<Node> _superUses;
Setlet<Element> _otherDependencies;
Map<Node, ConstantExpression> _constants;

Powered by Google App Engine
This is Rietveld 408576698