OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_FIELD_INDEX_H_ | 5 #ifndef V8_FIELD_INDEX_H_ |
6 #define V8_FIELD_INDEX_H_ | 6 #define V8_FIELD_INDEX_H_ |
7 | 7 |
| 8 #include "src/property-details.h" |
8 #include "src/utils.h" | 9 #include "src/utils.h" |
9 #include "src/property-details.h" | |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class Map; | 14 class Map; |
15 | 15 |
16 // Wrapper class to hold a field index, usually but not necessarily generated | 16 // Wrapper class to hold a field index, usually but not necessarily generated |
17 // from a property index. When available, the wrapper class captures additional | 17 // from a property index. When available, the wrapper class captures additional |
18 // information to allow the field index to be translated back into the property | 18 // information to allow the field index to be translated back into the property |
19 // index it was originally generated from. | 19 // index it was originally generated from. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 class IsHiddenField: | 110 class IsHiddenField: |
111 public BitField<bool, FirstInobjectPropertyOffsetBits::kNext, 1> {}; | 111 public BitField<bool, FirstInobjectPropertyOffsetBits::kNext, 1> {}; |
112 STATIC_ASSERT(IsHiddenField::kNext <= 32); | 112 STATIC_ASSERT(IsHiddenField::kNext <= 32); |
113 | 113 |
114 int bit_field_; | 114 int bit_field_; |
115 }; | 115 }; |
116 | 116 |
117 } } // namespace v8::internal | 117 } } // namespace v8::internal |
118 | 118 |
119 #endif | 119 #endif |
OLD | NEW |