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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Entity interfaces for modeling elements derived from Kernel IR. 5 /// Entity interfaces for modeling elements derived from Kernel IR.
6 6
7 import '../elements/entities.dart'; 7 import '../elements/entities.dart';
8 8
9 abstract class IndexedLibrary implements LibraryEntity { 9 abstract class IndexedLibrary implements LibraryEntity {
10 /// Library index used for fast lookup in [KernelToElementMapBase]. 10 /// Library index used for fast lookup in [KernelToElementMapBase].
(...skipping 10 matching lines...) Expand all
21 int get memberIndex; 21 int get memberIndex;
22 } 22 }
23 23
24 abstract class IndexedFunction implements IndexedMember, FunctionEntity {} 24 abstract class IndexedFunction implements IndexedMember, FunctionEntity {}
25 25
26 abstract class IndexedConstructor 26 abstract class IndexedConstructor
27 implements IndexedFunction, ConstructorEntity {} 27 implements IndexedFunction, ConstructorEntity {}
28 28
29 abstract class IndexedField implements IndexedMember, FieldEntity {} 29 abstract class IndexedField implements IndexedMember, FieldEntity {}
30 30
31 // TODO(johnniwinther): Add and use [typeVariableIndex]. 31 abstract class IndexedTypeVariable implements TypeVariableEntity {
32 abstract class IndexedTypeVariable implements TypeVariableEntity {} 32 /// Type variable index used for fast lookup in [KernelToElementMapBase].
33 int get typeVariableIndex;
34 }
OLDNEW
« 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