| 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_LAYOUT_DESCRIPTOR_H_ | 5 #ifndef V8_LAYOUT_DESCRIPTOR_H_ |
| 6 #define V8_LAYOUT_DESCRIPTOR_H_ | 6 #define V8_LAYOUT_DESCRIPTOR_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 class InobjectPropertiesHelper { | 111 class InobjectPropertiesHelper { |
| 112 public: | 112 public: |
| 113 inline explicit InobjectPropertiesHelper(Map* map); | 113 inline explicit InobjectPropertiesHelper(Map* map); |
| 114 | 114 |
| 115 bool all_fields_tagged() { return all_fields_tagged_; } | 115 bool all_fields_tagged() { return all_fields_tagged_; } |
| 116 inline bool IsTagged(int offset_in_bytes); | 116 inline bool IsTagged(int offset_in_bytes); |
| 117 | 117 |
| 118 private: | 118 private: |
| 119 bool all_fields_tagged_; | 119 bool all_fields_tagged_; |
| 120 int header_size_; | 120 int header_size_; |
| 121 int inobject_properties_count_; | |
| 122 LayoutDescriptor* layout_descriptor_; | 121 LayoutDescriptor* layout_descriptor_; |
| 123 }; | 122 }; |
| 124 } | 123 } |
| 125 } // namespace v8::internal | 124 } // namespace v8::internal |
| 126 | 125 |
| 127 #endif // V8_LAYOUT_DESCRIPTOR_H_ | 126 #endif // V8_LAYOUT_DESCRIPTOR_H_ |
| OLD | NEW |