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_HEAP_HEAP_H_ | 5 #ifndef V8_HEAP_HEAP_H_ |
6 #define V8_HEAP_HEAP_H_ | 6 #define V8_HEAP_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ | 165 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ |
166 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 166 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
167 EmptySlowElementDictionary) \ | 167 EmptySlowElementDictionary) \ |
168 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 168 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
169 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 169 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
170 V(InterceptorInfo, noop_interceptor_info, NoOpInterceptorInfo) \ | 170 V(InterceptorInfo, noop_interceptor_info, NoOpInterceptorInfo) \ |
171 /* Protectors */ \ | 171 /* Protectors */ \ |
172 V(PropertyCell, array_protector, ArrayProtector) \ | 172 V(PropertyCell, array_protector, ArrayProtector) \ |
173 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ | 173 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ |
174 V(Cell, species_protector, SpeciesProtector) \ | 174 V(Cell, species_protector, SpeciesProtector) \ |
175 V(Cell, string_bounds_check_protector, StringBoundsCheckProtector) \ | |
176 V(PropertyCell, string_length_protector, StringLengthProtector) \ | 175 V(PropertyCell, string_length_protector, StringLengthProtector) \ |
177 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ | 176 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ |
178 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ | 177 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ |
179 V(PropertyCell, array_buffer_neutering_protector, \ | 178 V(PropertyCell, array_buffer_neutering_protector, \ |
180 ArrayBufferNeuteringProtector) \ | 179 ArrayBufferNeuteringProtector) \ |
181 /* Special numbers */ \ | 180 /* Special numbers */ \ |
182 V(HeapNumber, nan_value, NanValue) \ | 181 V(HeapNumber, nan_value, NanValue) \ |
183 V(HeapNumber, hole_nan_value, HoleNanValue) \ | 182 V(HeapNumber, hole_nan_value, HoleNanValue) \ |
184 V(HeapNumber, infinity_value, InfinityValue) \ | 183 V(HeapNumber, infinity_value, InfinityValue) \ |
185 V(HeapNumber, minus_zero_value, MinusZeroValue) \ | 184 V(HeapNumber, minus_zero_value, MinusZeroValue) \ |
(...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2658 friend class PagedSpace; | 2657 friend class PagedSpace; |
2659 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2658 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2660 }; | 2659 }; |
2661 | 2660 |
2662 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); | 2661 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); |
2663 | 2662 |
2664 } // namespace internal | 2663 } // namespace internal |
2665 } // namespace v8 | 2664 } // namespace v8 |
2666 | 2665 |
2667 #endif // V8_HEAP_HEAP_H_ | 2666 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |