| 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 2482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2675 friend class LargeObjectSpace; | 2673 friend class LargeObjectSpace; |
| 2676 friend class NewSpace; | 2674 friend class NewSpace; |
| 2677 friend class PagedSpace; | 2675 friend class PagedSpace; |
| 2678 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2676 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2679 }; | 2677 }; |
| 2680 | 2678 |
| 2681 } // namespace internal | 2679 } // namespace internal |
| 2682 } // namespace v8 | 2680 } // namespace v8 |
| 2683 | 2681 |
| 2684 #endif // V8_HEAP_HEAP_H_ | 2682 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |