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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ | 171 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ |
172 /* Caches */ \ | 172 /* Caches */ \ |
173 V(FixedArray, number_string_cache, NumberStringCache) \ | 173 V(FixedArray, number_string_cache, NumberStringCache) \ |
174 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 174 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
175 V(FixedArray, string_split_cache, StringSplitCache) \ | 175 V(FixedArray, string_split_cache, StringSplitCache) \ |
176 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ | 176 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ |
177 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ | 177 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ |
178 V(Object, instanceof_cache_map, InstanceofCacheMap) \ | 178 V(Object, instanceof_cache_map, InstanceofCacheMap) \ |
179 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ | 179 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ |
180 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 180 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
181 V(FixedArray, experimental_natives_source_cache, \ | |
182 ExperimentalNativesSourceCache) \ | |
183 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ | 181 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ |
184 V(FixedArray, experimental_extra_natives_source_cache, \ | 182 V(FixedArray, experimental_extra_natives_source_cache, \ |
185 ExperimentalExtraNativesSourceCache) \ | 183 ExperimentalExtraNativesSourceCache) \ |
186 /* Lists and dictionaries */ \ | 184 /* Lists and dictionaries */ \ |
187 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ | 185 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ |
188 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ | 186 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ |
189 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ | 187 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ |
190 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ | 188 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ |
191 V(Object, script_list, ScriptList) \ | 189 V(Object, script_list, ScriptList) \ |
192 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ | 190 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ |
(...skipping 2426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2619 friend class LargeObjectSpace; | 2617 friend class LargeObjectSpace; |
2620 friend class NewSpace; | 2618 friend class NewSpace; |
2621 friend class PagedSpace; | 2619 friend class PagedSpace; |
2622 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2620 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2623 }; | 2621 }; |
2624 | 2622 |
2625 } // namespace internal | 2623 } // namespace internal |
2626 } // namespace v8 | 2624 } // namespace v8 |
2627 | 2625 |
2628 #endif // V8_HEAP_HEAP_H_ | 2626 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |