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

Unified Diff: pkg/compiler/lib/src/kernel/elements.dart

Issue 2970943002: Use index in J/KTypeVariable and fix remaining inequivalence (Closed)
Patch Set: Fix 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/kernel/element_map_impl.dart ('k') | pkg/compiler/lib/src/kernel/kelements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/elements.dart
diff --git a/pkg/compiler/lib/src/kernel/elements.dart b/pkg/compiler/lib/src/kernel/elements.dart
index c8f9a35559598531b27fdfa0685396f340e886c4..241448f65cdd13d1ec32d4f55c2cd6e8fb440b82 100644
--- a/pkg/compiler/lib/src/kernel/elements.dart
+++ b/pkg/compiler/lib/src/kernel/elements.dart
@@ -28,5 +28,7 @@ abstract class IndexedConstructor
abstract class IndexedField implements IndexedMember, FieldEntity {}
-// TODO(johnniwinther): Add and use [typeVariableIndex].
-abstract class IndexedTypeVariable implements TypeVariableEntity {}
+abstract class IndexedTypeVariable implements TypeVariableEntity {
+ /// Type variable index used for fast lookup in [KernelToElementMapBase].
+ int get typeVariableIndex;
+}
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | pkg/compiler/lib/src/kernel/kelements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698