OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_SNAPSHOT_IDS_H_ | 5 #ifndef RUNTIME_VM_SNAPSHOT_IDS_H_ |
6 #define RUNTIME_VM_SNAPSHOT_IDS_H_ | 6 #define RUNTIME_VM_SNAPSHOT_IDS_H_ |
7 | 7 |
| 8 #include "vm/dart_entry.h" |
8 #include "vm/raw_object.h" | 9 #include "vm/raw_object.h" |
9 #include "vm/dart_entry.h" | |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 // Index for predefined singleton objects used in a snapshot. | 13 // Index for predefined singleton objects used in a snapshot. |
14 enum { | 14 enum { |
15 kNullObject = 0, | 15 kNullObject = 0, |
16 kSentinelObject, | 16 kSentinelObject, |
17 kTransitionSentinelObject, | 17 kTransitionSentinelObject, |
18 kEmptyArrayObject, | 18 kEmptyArrayObject, |
19 kZeroArrayObject, | 19 kZeroArrayObject, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 kInstanceObjectId, | 63 kInstanceObjectId, |
64 kStaticImplicitClosureObjectId, | 64 kStaticImplicitClosureObjectId, |
65 kMaxPredefinedObjectIds, | 65 kMaxPredefinedObjectIds, |
66 kInvalidIndex = -1, | 66 kInvalidIndex = -1, |
67 }; | 67 }; |
68 | 68 |
69 } // namespace dart | 69 } // namespace dart |
70 | 70 |
71 #endif // RUNTIME_VM_SNAPSHOT_IDS_H_ | 71 #endif // RUNTIME_VM_SNAPSHOT_IDS_H_ |
OLD | NEW |