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(TypeFeedbackVector, dummy_vector, DummyVector) \ | 160 V(TypeFeedbackVector, dummy_vector, DummyVector) \ |
161 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 161 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
162 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 162 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
163 /* Protectors */ \ | 163 /* Protectors */ \ |
164 V(PropertyCell, array_protector, ArrayProtector) \ | 164 V(PropertyCell, array_protector, ArrayProtector) \ |
165 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ | 165 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ |
166 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ | 166 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ |
167 V(Cell, species_protector, SpeciesProtector) \ | 167 V(Cell, species_protector, SpeciesProtector) \ |
168 V(PropertyCell, string_length_protector, StringLengthProtector) \ | 168 V(PropertyCell, string_length_protector, StringLengthProtector) \ |
169 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ | 169 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ |
| 170 V(Cell, array_iterator_protector, ArrayIteratorProtector) \ |
170 /* Special numbers */ \ | 171 /* Special numbers */ \ |
171 V(HeapNumber, nan_value, NanValue) \ | 172 V(HeapNumber, nan_value, NanValue) \ |
172 V(HeapNumber, hole_nan_value, HoleNanValue) \ | 173 V(HeapNumber, hole_nan_value, HoleNanValue) \ |
173 V(HeapNumber, infinity_value, InfinityValue) \ | 174 V(HeapNumber, infinity_value, InfinityValue) \ |
174 V(HeapNumber, minus_zero_value, MinusZeroValue) \ | 175 V(HeapNumber, minus_zero_value, MinusZeroValue) \ |
175 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ | 176 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ |
176 /* Caches */ \ | 177 /* Caches */ \ |
177 V(FixedArray, number_string_cache, NumberStringCache) \ | 178 V(FixedArray, number_string_cache, NumberStringCache) \ |
178 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 179 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
179 V(FixedArray, string_split_cache, StringSplitCache) \ | 180 V(FixedArray, string_split_cache, StringSplitCache) \ |
(...skipping 2462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 friend class LargeObjectSpace; | 2643 friend class LargeObjectSpace; |
2643 friend class NewSpace; | 2644 friend class NewSpace; |
2644 friend class PagedSpace; | 2645 friend class PagedSpace; |
2645 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2646 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2646 }; | 2647 }; |
2647 | 2648 |
2648 } // namespace internal | 2649 } // namespace internal |
2649 } // namespace v8 | 2650 } // namespace v8 |
2650 | 2651 |
2651 #endif // V8_HEAP_HEAP_H_ | 2652 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |