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(TypeFeedbackVector, dummy_vector, DummyVector) \ | 159 V(TypeFeedbackVector, dummy_vector, DummyVector) \ |
160 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 160 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
161 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 161 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
162 /* Protectors */ \ | 162 /* Protectors */ \ |
163 V(PropertyCell, array_protector, ArrayProtector) \ | 163 V(PropertyCell, array_protector, ArrayProtector) \ |
164 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ | 164 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ |
165 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ | 165 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ |
166 V(Cell, species_protector, SpeciesProtector) \ | 166 V(Cell, species_protector, SpeciesProtector) \ |
167 /* Special numbers */ \ | 167 /* Special numbers */ \ |
168 V(HeapNumber, nan_value, NanValue) \ | 168 V(HeapNumber, nan_value, NanValue) \ |
| 169 V(HeapNumber, hole_nan_value, HoleNanValue) \ |
169 V(HeapNumber, infinity_value, InfinityValue) \ | 170 V(HeapNumber, infinity_value, InfinityValue) \ |
170 V(HeapNumber, minus_zero_value, MinusZeroValue) \ | 171 V(HeapNumber, minus_zero_value, MinusZeroValue) \ |
171 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ | 172 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ |
172 /* Caches */ \ | 173 /* Caches */ \ |
173 V(FixedArray, number_string_cache, NumberStringCache) \ | 174 V(FixedArray, number_string_cache, NumberStringCache) \ |
174 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 175 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
175 V(FixedArray, string_split_cache, StringSplitCache) \ | 176 V(FixedArray, string_split_cache, StringSplitCache) \ |
176 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ | 177 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ |
177 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ | 178 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ |
178 V(Object, instanceof_cache_map, InstanceofCacheMap) \ | 179 V(Object, instanceof_cache_map, InstanceofCacheMap) \ |
(...skipping 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2708 friend class LargeObjectSpace; | 2709 friend class LargeObjectSpace; |
2709 friend class NewSpace; | 2710 friend class NewSpace; |
2710 friend class PagedSpace; | 2711 friend class PagedSpace; |
2711 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2712 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2712 }; | 2713 }; |
2713 | 2714 |
2714 } // namespace internal | 2715 } // namespace internal |
2715 } // namespace v8 | 2716 } // namespace v8 |
2716 | 2717 |
2717 #endif // V8_HEAP_HEAP_H_ | 2718 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |