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

Unified Diff: pkg/compiler/lib/src/inferrer/type_system.dart

Issue 2762493002: Type tracing bug fix for issue 28919. (Closed)
Patch Set: typo Created 3 years, 9 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/inferrer/type_system.dart
diff --git a/pkg/compiler/lib/src/inferrer/type_system.dart b/pkg/compiler/lib/src/inferrer/type_system.dart
index 2d66363c4b851ac426cea07ce52f992303f9188b..d329b77f372b287b2c7d3ad09eafd1aba1ea1aca 100644
--- a/pkg/compiler/lib/src/inferrer/type_system.dart
+++ b/pkg/compiler/lib/src/inferrer/type_system.dart
@@ -39,8 +39,12 @@ class TypeSystem {
final Map<TypeMask, TypeInformation> concreteTypes =
new Map<TypeMask, TypeInformation>();
- /// List of [TypeInformation]s allocated inside method bodies (calls,
- /// narrowing, phis, and containers).
+ /// List of [TypeInformation]s for calls inside method bodies.
+ final List<CallSiteTypeInformation> allocatedCalls =
+ <CallSiteTypeInformation>[];
+
+ /// List of [TypeInformation]s allocated inside method bodies (narrowing,
+ /// phis, and containers).
final List<TypeInformation> allocatedTypes = <TypeInformation>[];
Iterable<TypeInformation> get allTypes => [
@@ -49,6 +53,7 @@ class TypeSystem {
allocatedMaps.values,
allocatedClosures,
concreteTypes.values,
+ allocatedCalls,
allocatedTypes
].expand((x) => x);
« no previous file with comments | « pkg/compiler/lib/src/inferrer/type_graph_dump.dart ('k') | tests/compiler/dart2js/closure_tracer_28919_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698