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

Unified Diff: pkg/kernel/lib/binary/tag.dart

Issue 2665723002: Implement canonical name scheme in kernel. (Closed)
Patch Set: Address comments Created 3 years, 11 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
Index: pkg/kernel/lib/binary/tag.dart
diff --git a/pkg/kernel/lib/binary/tag.dart b/pkg/kernel/lib/binary/tag.dart
index 226b190427eae836ac41a9bb04f76881daeeb937..16625bcf37a471e24b1f822eb42ac9b97063ed4b 100644
--- a/pkg/kernel/lib/binary/tag.dart
+++ b/pkg/kernel/lib/binary/tag.dart
@@ -7,8 +7,7 @@ class Tag {
static const int Nothing = 0;
static const int Something = 1;
- static const int NormalClass = 2;
- static const int MixinClass = 3;
+ static const int Class = 2;
static const int Field = 4;
static const int Constructor = 5;
@@ -98,14 +97,8 @@ class Tag {
static const int SimpleFunctionType = 97;
static const int NullReference = 99;
- static const int NormalClassReference = 100;
- static const int MixinClassReference = 101;
-
- static const int LibraryFieldReference = 102;
- static const int ClassFieldReference = 103;
- static const int ClassConstructorReference = 104;
- static const int LibraryProcedureReference = 105;
- static const int ClassProcedureReference = 106;
+ static const int ClassReference = 100;
+ static const int MemberReference = 101;
static const int SpecializedTagHighBit = 0x80; // 10000000
static const int SpecializedTagMask = 0xF8; // 11111000

Powered by Google App Engine
This is Rietveld 408576698