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

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

Issue 2976483002: Further cleanup of element use in type_graph_nodes (Closed)
Patch Set: Updated cf. comment Created 3 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/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 a7a98423f4323ea313f5677ae4fbeda0cd5d5c12..5779c5805d9b871cdb0cbbc262836a7331c7f00e 100644
--- a/pkg/compiler/lib/src/inferrer/type_system.dart
+++ b/pkg/compiler/lib/src/inferrer/type_system.dart
@@ -453,7 +453,7 @@ class TypeSystem {
}
TypeInformation allocateList(
- TypeInformation type, ast.Node node, Element enclosing,
+ TypeInformation type, ast.Node node, MemberElement enclosing,
[TypeInformation elementType, int length]) {
ClassElement typedDataClass = closedWorld.commonElements.typedDataClass;
bool isTypedArray = typedDataClass != null &&
@@ -489,7 +489,7 @@ class TypeSystem {
}
TypeInformation allocateMap(
- ConcreteTypeInformation type, ast.Node node, Element element,
+ ConcreteTypeInformation type, ast.Node node, MemberElement element,
[List<TypeInformation> keyTypes, List<TypeInformation> valueTypes]) {
assert(keyTypes.length == valueTypes.length);
bool isFixed = (type.type == commonMasks.constMapType);
« no previous file with comments | « pkg/compiler/lib/src/inferrer/type_graph_nodes.dart ('k') | pkg/compiler/lib/src/types/container_type_mask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698