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

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

Issue 2767773004: Add Vector type to Kernel (Closed)
Patch Set: Make fixes suggested by the reviewers Created 3 years, 9 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 c41a29a351e9072cd2900da75e230c73a5b859e2..304887c9e20d8804b1243636eb4d315595e58769 100644
--- a/pkg/kernel/lib/binary/tag.dart
+++ b/pkg/kernel/lib/binary/tag.dart
@@ -88,6 +88,7 @@ class Tag {
static const int FunctionDeclaration = 79;
static const int AsyncForInStatement = 80;
+ static const int VectorType = 88;
static const int BottomType = 89;
static const int InvalidType = 90;
static const int DynamicType = 91;
@@ -102,6 +103,11 @@ class Tag {
static const int ClassReference = 100;
static const int MemberReference = 101;
+ static const int VectorCreation = 103;
Kevin Millikin (Google) 2017/03/23 12:01:03 I can't figure out why there are sometimes gaps be
Dmitry Stefantsov 2017/03/27 10:57:08 Apparently, for no reason in this case :) Changed
+ static const int VectorGet = 104;
+ static const int VectorSet = 105;
+ static const int VectorCopy = 106;
+
static const int SpecializedTagHighBit = 0x80; // 10000000
static const int SpecializedTagMask = 0xF8; // 11111000
static const int SpecializedPayloadMask = 0x7; // 00000111

Powered by Google App Engine
This is Rietveld 408576698