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

Unified Diff: pkg/compiler/lib/src/kernel/kelements.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/elements.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kelements.dart
diff --git a/pkg/compiler/lib/src/kernel/kelements.dart b/pkg/compiler/lib/src/kernel/kelements.dart
index b72947a5635e75b93e811e64801b4db915478832..ba7b150f932f01ebad6011d40b7ae464f6d53b1e 100644
--- a/pkg/compiler/lib/src/kernel/kelements.dart
+++ b/pkg/compiler/lib/src/kernel/kelements.dart
@@ -229,11 +229,13 @@ class KField extends KMember implements FieldEntity, IndexedField {
}
class KTypeVariable implements TypeVariableEntity, IndexedTypeVariable {
+ final int typeVariableIndex;
final Entity typeDeclaration;
final String name;
final int index;
- KTypeVariable(this.typeDeclaration, this.name, this.index);
+ KTypeVariable(
+ this.typeVariableIndex, this.typeDeclaration, this.name, this.index);
String toString() =>
'${kElementPrefix}type_variable(${typeDeclaration.name}.$name)';
« no previous file with comments | « pkg/compiler/lib/src/kernel/elements.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698