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

Unified Diff: pkg/compiler/lib/src/js_model/js_strategy.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/js_emitter/sorter.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_model/js_strategy.dart
diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart
index 94215a63b5411dff60d47ba7fad2c12a71baa0f1..be47ef04dc57bf40b95e9f1771d29dbb939313ff 100644
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart
@@ -10,7 +10,7 @@ import '../common/tasks.dart';
import '../common_elements.dart';
import '../compiler.dart';
import '../constants/constant_system.dart';
-import '../elements/elements.dart' show ClassElement, TypedefElement;
+import '../elements/elements.dart' show ClassElement;
import '../elements/entities.dart';
import '../elements/types.dart';
import '../enqueue.dart';
@@ -297,7 +297,7 @@ class JsBackendStrategy implements KernelBackendStrategy {
mixinUses: mixinUses,
typesImplementedBySubclasses: typesImplementedBySubclasses,
// TODO(johnniwinther): Support this:
- allTypedefs: new ImmutableEmptySet<TypedefElement>());
+ allTypedefs: new ImmutableEmptySet<TypedefEntity>());
}
@override
@@ -360,7 +360,7 @@ class JsClosedWorld extends ClosedWorldBase with KernelClosedWorldMixin {
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/js_emitter/sorter.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698