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

Side by Side Diff: pkg/kernel/lib/binary/tag.dart

Issue 2767773004: Add Vector type to Kernel (Closed)
Patch Set: Add a note to return Run step in Closure Conversion test suite 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library kernel.binary.tag; 4 library kernel.binary.tag;
5 5
6 class Tag { 6 class Tag {
7 static const int Nothing = 0; 7 static const int Nothing = 0;
8 static const int Something = 1; 8 static const int Something = 1;
9 9
10 static const int Class = 2; 10 static const int Class = 2;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 static const int ContinueSwitchStatement = 72; 81 static const int ContinueSwitchStatement = 72;
82 static const int IfStatement = 73; 82 static const int IfStatement = 73;
83 static const int ReturnStatement = 74; 83 static const int ReturnStatement = 74;
84 static const int TryCatch = 75; 84 static const int TryCatch = 75;
85 static const int TryFinally = 76; 85 static const int TryFinally = 76;
86 static const int YieldStatement = 77; 86 static const int YieldStatement = 77;
87 static const int VariableDeclaration = 78; 87 static const int VariableDeclaration = 78;
88 static const int FunctionDeclaration = 79; 88 static const int FunctionDeclaration = 79;
89 static const int AsyncForInStatement = 80; 89 static const int AsyncForInStatement = 80;
90 90
91 static const int VectorType = 88;
91 static const int BottomType = 89; 92 static const int BottomType = 89;
92 static const int InvalidType = 90; 93 static const int InvalidType = 90;
93 static const int DynamicType = 91; 94 static const int DynamicType = 91;
94 static const int VoidType = 92; 95 static const int VoidType = 92;
95 static const int InterfaceType = 93; 96 static const int InterfaceType = 93;
96 static const int FunctionType = 94; 97 static const int FunctionType = 94;
97 static const int TypeParameterType = 95; 98 static const int TypeParameterType = 95;
98 static const int SimpleInterfaceType = 96; 99 static const int SimpleInterfaceType = 96;
99 static const int SimpleFunctionType = 97; 100 static const int SimpleFunctionType = 97;
100 101
101 static const int NullReference = 99; 102 static const int NullReference = 99;
102 static const int ClassReference = 100; 103 static const int ClassReference = 100;
103 static const int MemberReference = 101; 104 static const int MemberReference = 101;
104 105
106 static const int VectorCreation = 103;
107 static const int VectorGet = 104;
108 static const int VectorSet = 105;
109 static const int VectorCopy = 106;
110
105 static const int SpecializedTagHighBit = 0x80; // 10000000 111 static const int SpecializedTagHighBit = 0x80; // 10000000
106 static const int SpecializedTagMask = 0xF8; // 11111000 112 static const int SpecializedTagMask = 0xF8; // 11111000
107 static const int SpecializedPayloadMask = 0x7; // 00000111 113 static const int SpecializedPayloadMask = 0x7; // 00000111
108 114
109 static const int SpecializedVariableGet = 128; 115 static const int SpecializedVariableGet = 128;
110 static const int SpecializedVariableSet = 136; 116 static const int SpecializedVariableSet = 136;
111 static const int SpecializedIntLiteral = 144; 117 static const int SpecializedIntLiteral = 144;
112 118
113 static const int SpecializedIntLiteralBias = 3; 119 static const int SpecializedIntLiteralBias = 3;
114 120
115 static const int ProgramFile = 0x90ABCDEF; 121 static const int ProgramFile = 0x90ABCDEF;
116 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698