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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // |out_end_of_contiguous_region_offset|. The |end_offset| value is the | 146 // |out_end_of_contiguous_region_offset|. The |end_offset| value is the |
147 // upper bound for |out_end_of_contiguous_region_offset|. | 147 // upper bound for |out_end_of_contiguous_region_offset|. |
148 bool IsTagged(int offset_in_bytes, int end_offset, | 148 bool IsTagged(int offset_in_bytes, int end_offset, |
149 int* out_end_of_contiguous_region_offset); | 149 int* out_end_of_contiguous_region_offset); |
150 | 150 |
151 private: | 151 private: |
152 bool all_fields_tagged_; | 152 bool all_fields_tagged_; |
153 int header_size_; | 153 int header_size_; |
154 LayoutDescriptor* layout_descriptor_; | 154 LayoutDescriptor* layout_descriptor_; |
155 }; | 155 }; |
156 } | 156 } // namespace internal |
157 } // namespace v8::internal | 157 } // namespace v8 |
158 | 158 |
159 #endif // V8_LAYOUT_DESCRIPTOR_H_ | 159 #endif // V8_LAYOUT_DESCRIPTOR_H_ |
OLD | NEW |