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) \ |
181 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ | 183 V(FixedArray, extra_natives_source_cache, ExtraNativesSourceCache) \ |
182 V(FixedArray, experimental_extra_natives_source_cache, \ | 184 V(FixedArray, experimental_extra_natives_source_cache, \ |
183 ExperimentalExtraNativesSourceCache) \ | 185 ExperimentalExtraNativesSourceCache) \ |
184 /* Lists and dictionaries */ \ | 186 /* Lists and dictionaries */ \ |
185 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ | 187 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ |
186 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ | 188 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ |
187 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ | 189 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ |
188 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ | 190 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ |
189 V(Object, script_list, ScriptList) \ | 191 V(Object, script_list, ScriptList) \ |
190 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ | 192 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ |
(...skipping 2423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2614 friend class LargeObjectSpace; | 2616 friend class LargeObjectSpace; |
2615 friend class NewSpace; | 2617 friend class NewSpace; |
2616 friend class PagedSpace; | 2618 friend class PagedSpace; |
2617 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2619 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2618 }; | 2620 }; |
2619 | 2621 |
2620 } // namespace internal | 2622 } // namespace internal |
2621 } // namespace v8 | 2623 } // namespace v8 |
2622 | 2624 |
2623 #endif // V8_HEAP_HEAP_H_ | 2625 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |