OLD | NEW |
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; |
11 | 11 |
| 12 static const int FunctionNode = 3; |
| 13 |
12 static const int Field = 4; | 14 static const int Field = 4; |
13 static const int Constructor = 5; | 15 static const int Constructor = 5; |
14 static const int Procedure = 6; | 16 static const int Procedure = 6; |
15 | 17 |
16 static const int InvalidInitializer = 7; | 18 static const int InvalidInitializer = 7; |
17 static const int FieldInitializer = 8; | 19 static const int FieldInitializer = 8; |
18 static const int SuperInitializer = 9; | 20 static const int SuperInitializer = 9; |
19 static const int RedirectingInitializer = 10; | 21 static const int RedirectingInitializer = 10; |
20 static const int LocalInitializer = 11; | 22 static const int LocalInitializer = 11; |
21 | 23 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static const int SpecializedPayloadMask = 0x7; // 00000111 | 118 static const int SpecializedPayloadMask = 0x7; // 00000111 |
117 | 119 |
118 static const int SpecializedVariableGet = 128; | 120 static const int SpecializedVariableGet = 128; |
119 static const int SpecializedVariableSet = 136; | 121 static const int SpecializedVariableSet = 136; |
120 static const int SpecializedIntLiteral = 144; | 122 static const int SpecializedIntLiteral = 144; |
121 | 123 |
122 static const int SpecializedIntLiteralBias = 3; | 124 static const int SpecializedIntLiteralBias = 3; |
123 | 125 |
124 static const int ProgramFile = 0x90ABCDEF; | 126 static const int ProgramFile = 0x90ABCDEF; |
125 } | 127 } |
OLD | NEW |