| 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/property-details.h" |
| 9 #include "src/utils.h" | 9 #include "src/utils.h" |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // Offset of first inobject property from beginning of object. | 104 // Offset of first inobject property from beginning of object. |
| 105 class FirstInobjectPropertyOffsetBits | 105 class FirstInobjectPropertyOffsetBits |
| 106 : public BitField<int, InObjectPropertyBits::kNext, 7> {}; | 106 : public BitField<int, InObjectPropertyBits::kNext, 7> {}; |
| 107 class IsHiddenField | 107 class IsHiddenField |
| 108 : public BitField<bool, FirstInobjectPropertyOffsetBits::kNext, 1> {}; | 108 : public BitField<bool, FirstInobjectPropertyOffsetBits::kNext, 1> {}; |
| 109 STATIC_ASSERT(IsHiddenField::kNext <= 32); | 109 STATIC_ASSERT(IsHiddenField::kNext <= 32); |
| 110 | 110 |
| 111 int bit_field_; | 111 int bit_field_; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } } // namespace v8::internal | 114 } // namespace internal |
| 115 } // namespace v8 |
| 115 | 116 |
| 116 #endif | 117 #endif |
| OLD | NEW |