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 VM_SNAPSHOT_IDS_H_ | 5 #ifndef RUNTIME_VM_SNAPSHOT_IDS_H_ |
6 #define VM_SNAPSHOT_IDS_H_ | 6 #define RUNTIME_VM_SNAPSHOT_IDS_H_ |
7 | 7 |
8 #include "vm/raw_object.h" | 8 #include "vm/raw_object.h" |
9 #include "vm/dart_entry.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, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ICData::kCachedICDataArrayCount - 1), | 59 ICData::kCachedICDataArrayCount - 1), |
60 | 60 |
61 kInstanceObjectId, | 61 kInstanceObjectId, |
62 kStaticImplicitClosureObjectId, | 62 kStaticImplicitClosureObjectId, |
63 kMaxPredefinedObjectIds, | 63 kMaxPredefinedObjectIds, |
64 kInvalidIndex = -1, | 64 kInvalidIndex = -1, |
65 }; | 65 }; |
66 | 66 |
67 } // namespace dart | 67 } // namespace dart |
68 | 68 |
69 #endif // VM_SNAPSHOT_IDS_H_ | 69 #endif // RUNTIME_VM_SNAPSHOT_IDS_H_ |
OLD | NEW |