OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_SNAPSHOT_SERIALIZE_H_ | 5 #ifndef V8_SNAPSHOT_SERIALIZE_H_ |
6 #define V8_SNAPSHOT_SERIALIZE_H_ | 6 #define V8_SNAPSHOT_SERIALIZE_H_ |
7 | 7 |
8 #include "src/hashmap.h" | 8 #include "src/hashmap.h" |
9 #include "src/heap/heap.h" | 9 #include "src/heap/heap.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 static const int kSourceHashOffset = kVersionHashOffset + kInt32Size; | 974 static const int kSourceHashOffset = kVersionHashOffset + kInt32Size; |
975 static const int kCpuFeaturesOffset = kSourceHashOffset + kInt32Size; | 975 static const int kCpuFeaturesOffset = kSourceHashOffset + kInt32Size; |
976 static const int kFlagHashOffset = kCpuFeaturesOffset + kInt32Size; | 976 static const int kFlagHashOffset = kCpuFeaturesOffset + kInt32Size; |
977 static const int kNumReservationsOffset = kFlagHashOffset + kInt32Size; | 977 static const int kNumReservationsOffset = kFlagHashOffset + kInt32Size; |
978 static const int kNumCodeStubKeysOffset = kNumReservationsOffset + kInt32Size; | 978 static const int kNumCodeStubKeysOffset = kNumReservationsOffset + kInt32Size; |
979 static const int kPayloadLengthOffset = kNumCodeStubKeysOffset + kInt32Size; | 979 static const int kPayloadLengthOffset = kNumCodeStubKeysOffset + kInt32Size; |
980 static const int kChecksum1Offset = kPayloadLengthOffset + kInt32Size; | 980 static const int kChecksum1Offset = kPayloadLengthOffset + kInt32Size; |
981 static const int kChecksum2Offset = kChecksum1Offset + kInt32Size; | 981 static const int kChecksum2Offset = kChecksum1Offset + kInt32Size; |
982 static const int kHeaderSize = kChecksum2Offset + kInt32Size; | 982 static const int kHeaderSize = kChecksum2Offset + kInt32Size; |
983 }; | 983 }; |
984 } } // namespace v8::internal | 984 } // namespace internal |
| 985 } // namespace v8 |
985 | 986 |
986 #endif // V8_SNAPSHOT_SERIALIZE_H_ | 987 #endif // V8_SNAPSHOT_SERIALIZE_H_ |
OLD | NEW |