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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 EmptySlowElementDictionary) \ | 159 EmptySlowElementDictionary) \ |
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 /* Special numbers */ \ | 170 /* Special numbers */ \ |
170 V(HeapNumber, nan_value, NanValue) \ | 171 V(HeapNumber, nan_value, NanValue) \ |
171 V(HeapNumber, hole_nan_value, HoleNanValue) \ | 172 V(HeapNumber, hole_nan_value, HoleNanValue) \ |
172 V(HeapNumber, infinity_value, InfinityValue) \ | 173 V(HeapNumber, infinity_value, InfinityValue) \ |
173 V(HeapNumber, minus_zero_value, MinusZeroValue) \ | 174 V(HeapNumber, minus_zero_value, MinusZeroValue) \ |
174 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ | 175 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ |
175 /* Caches */ \ | 176 /* Caches */ \ |
176 V(FixedArray, number_string_cache, NumberStringCache) \ | 177 V(FixedArray, number_string_cache, NumberStringCache) \ |
177 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 178 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
178 V(FixedArray, string_split_cache, StringSplitCache) \ | 179 V(FixedArray, string_split_cache, StringSplitCache) \ |
(...skipping 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 friend class LargeObjectSpace; | 2651 friend class LargeObjectSpace; |
2651 friend class NewSpace; | 2652 friend class NewSpace; |
2652 friend class PagedSpace; | 2653 friend class PagedSpace; |
2653 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2654 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2654 }; | 2655 }; |
2655 | 2656 |
2656 } // namespace internal | 2657 } // namespace internal |
2657 } // namespace v8 | 2658 } // namespace v8 |
2658 | 2659 |
2659 #endif // V8_HEAP_HEAP_H_ | 2660 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |