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 <map> | 9 #include <map> |
10 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 V(Script, empty_script, EmptyScript) \ | 160 V(Script, empty_script, EmptyScript) \ |
161 V(Cell, undefined_cell, UndefinedCell) \ | 161 V(Cell, undefined_cell, UndefinedCell) \ |
162 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ | 162 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ |
163 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 163 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
164 EmptySlowElementDictionary) \ | 164 EmptySlowElementDictionary) \ |
165 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 165 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
166 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 166 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
167 /* Protectors */ \ | 167 /* Protectors */ \ |
168 V(PropertyCell, array_protector, ArrayProtector) \ | 168 V(PropertyCell, array_protector, ArrayProtector) \ |
169 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ | 169 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ |
170 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ | |
171 V(Cell, species_protector, SpeciesProtector) \ | 170 V(Cell, species_protector, SpeciesProtector) \ |
172 V(PropertyCell, string_length_protector, StringLengthProtector) \ | 171 V(PropertyCell, string_length_protector, StringLengthProtector) \ |
173 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ | 172 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ |
174 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ | 173 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ |
175 V(PropertyCell, array_buffer_neutering_protector, \ | 174 V(PropertyCell, array_buffer_neutering_protector, \ |
176 ArrayBufferNeuteringProtector) \ | 175 ArrayBufferNeuteringProtector) \ |
177 /* Special numbers */ \ | 176 /* Special numbers */ \ |
178 V(HeapNumber, nan_value, NanValue) \ | 177 V(HeapNumber, nan_value, NanValue) \ |
179 V(HeapNumber, hole_nan_value, HoleNanValue) \ | 178 V(HeapNumber, hole_nan_value, HoleNanValue) \ |
180 V(HeapNumber, infinity_value, InfinityValue) \ | 179 V(HeapNumber, infinity_value, InfinityValue) \ |
(...skipping 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 friend class LargeObjectSpace; | 2666 friend class LargeObjectSpace; |
2668 friend class NewSpace; | 2667 friend class NewSpace; |
2669 friend class PagedSpace; | 2668 friend class PagedSpace; |
2670 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2669 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2671 }; | 2670 }; |
2672 | 2671 |
2673 } // namespace internal | 2672 } // namespace internal |
2674 } // namespace v8 | 2673 } // namespace v8 |
2675 | 2674 |
2676 #endif // V8_HEAP_HEAP_H_ | 2675 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |