| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 | 4 |
| 5 #ifndef RUNTIME_VM_KERNEL_BINARY_H_ | 5 #ifndef RUNTIME_VM_KERNEL_BINARY_H_ |
| 6 #define RUNTIME_VM_KERNEL_BINARY_H_ | 6 #define RUNTIME_VM_KERNEL_BINARY_H_ |
| 7 | 7 |
| 8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 kContinueSwitchStatement = 72, | 98 kContinueSwitchStatement = 72, |
| 99 kIfStatement = 73, | 99 kIfStatement = 73, |
| 100 kReturnStatement = 74, | 100 kReturnStatement = 74, |
| 101 kTryCatch = 75, | 101 kTryCatch = 75, |
| 102 kTryFinally = 76, | 102 kTryFinally = 76, |
| 103 kYieldStatement = 77, | 103 kYieldStatement = 77, |
| 104 kVariableDeclaration = 78, | 104 kVariableDeclaration = 78, |
| 105 kFunctionDeclaration = 79, | 105 kFunctionDeclaration = 79, |
| 106 kAsyncForInStatement = 80, | 106 kAsyncForInStatement = 80, |
| 107 | 107 |
| 108 kVectorType = 88, |
| 108 kInvalidType = 90, | 109 kInvalidType = 90, |
| 109 kDynamicType = 91, | 110 kDynamicType = 91, |
| 110 kVoidType = 92, | 111 kVoidType = 92, |
| 111 kInterfaceType = 93, | 112 kInterfaceType = 93, |
| 112 kFunctionType = 94, | 113 kFunctionType = 94, |
| 113 kTypeParameterType = 95, | 114 kTypeParameterType = 95, |
| 114 kSimpleInterfaceType = 96, | 115 kSimpleInterfaceType = 96, |
| 115 kSimpleFunctionType = 97, | 116 kSimpleFunctionType = 97, |
| 116 | 117 |
| 118 kVectorCreation = 102, |
| 119 kVectorGet = 103, |
| 120 kVectorSet = 104, |
| 121 kVectorCopy = 105, |
| 122 |
| 123 kClosureCreation = 106, |
| 124 |
| 117 kSpecializedTagHighBit = 0x80, // 10000000 | 125 kSpecializedTagHighBit = 0x80, // 10000000 |
| 118 kSpecializedTagMask = 0xF8, // 11111000 | 126 kSpecializedTagMask = 0xF8, // 11111000 |
| 119 kSpecializedPayloadMask = 0x7, // 00000111 | 127 kSpecializedPayloadMask = 0x7, // 00000111 |
| 120 | 128 |
| 121 kSpecializedVariableGet = 128, | 129 kSpecializedVariableGet = 128, |
| 122 kSpecializedVariableSet = 136, | 130 kSpecializedVariableSet = 136, |
| 123 kSpecialIntLiteral = 144, | 131 kSpecialIntLiteral = 144, |
| 124 }; | 132 }; |
| 125 | 133 |
| 126 | 134 |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 Reader* reader_; | 543 Reader* reader_; |
| 536 TokenPosition min_; | 544 TokenPosition min_; |
| 537 TokenPosition max_; | 545 TokenPosition max_; |
| 538 }; | 546 }; |
| 539 | 547 |
| 540 } // namespace kernel | 548 } // namespace kernel |
| 541 } // namespace dart | 549 } // namespace dart |
| 542 | 550 |
| 543 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 551 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 544 #endif // RUNTIME_VM_KERNEL_BINARY_H_ | 552 #endif // RUNTIME_VM_KERNEL_BINARY_H_ |
| OLD | NEW |