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