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

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

Issue 2981633002: Introduce TypedefEntity (Closed)
Patch Set: Updated cf. comments 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
« no previous file with comments | « pkg/compiler/lib/src/universe/resolution_world_builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index 1744f3eb2d94d42ab3417d2305cc4f027011deae..bcaff044f4151cf883c9e542cb0d0117e496b1ef 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -15,8 +15,7 @@ import 'elements/elements.dart'
Element,
MemberElement,
MethodElement,
- MixinApplicationElement,
- TypedefElement;
+ MixinApplicationElement;
import 'elements/resolution_types.dart';
import 'elements/types.dart';
import 'js_backend/backend_usage.dart' show BackendUsage;
@@ -293,7 +292,7 @@ abstract class ClosedWorld implements World {
TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask);
/// Returns all resolved typedefs.
- Iterable<TypedefElement> get allTypedefs;
+ Iterable<TypedefEntity> get allTypedefs;
/// Returns the mask for the potential receivers of a dynamic call to
/// [selector] on [mask].
@@ -388,7 +387,7 @@ abstract class OpenWorld implements World {
void registerClass(covariant ClassEntity cls);
void registerUsedElement(MemberEntity element);
- void registerTypedef(TypedefElement typedef);
+ void registerTypedef(TypedefEntity typedef);
ClosedWorld closeWorld();
@@ -417,7 +416,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner {
FunctionSet _allFunctions;
- final Set<TypedefElement> _allTypedefs;
+ final Set<TypedefEntity> _allTypedefs;
final Map<ClassEntity, Set<ClassEntity>> mixinUses;
Map<ClassEntity, List<ClassEntity>> _liveMixinUses;
@@ -473,7 +472,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner {
this.liveNativeClasses,
this.liveInstanceMembers,
this.assignedInstanceMembers,
- Set<TypedefElement> allTypedefs,
+ Set<TypedefEntity> allTypedefs,
this.mixinUses,
this.typesImplementedBySubclasses,
Map<ClassEntity, ClassHierarchyNode> classHierarchyNodes,
@@ -1016,7 +1015,7 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner {
return _classSets[cls];
}
- Iterable<TypedefElement> get allTypedefs => _allTypedefs;
+ Iterable<TypedefEntity> get allTypedefs => _allTypedefs;
void _ensureFunctionSet() {
if (_allFunctions == null) {
@@ -1196,7 +1195,7 @@ class ClosedWorldImpl extends ClosedWorldBase with ClosedWorldRtiNeedMixin {
Iterable<ClassEntity> liveNativeClasses,
Iterable<MemberEntity> liveInstanceMembers,
Iterable<MemberEntity> assignedInstanceMembers,
- Set<TypedefElement> allTypedefs,
+ Set<TypedefEntity> allTypedefs,
Map<ClassEntity, Set<ClassEntity>> mixinUses,
Map<ClassEntity, Set<ClassEntity>> typesImplementedBySubclasses,
Map<ClassEntity, ClassHierarchyNode> classHierarchyNodes,
« no previous file with comments | « pkg/compiler/lib/src/universe/resolution_world_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698