| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(Map, with_context_map, WithContextMap) \ | 84 V(Map, with_context_map, WithContextMap) \ |
| 85 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ | 85 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ |
| 86 V(Map, script_context_table_map, ScriptContextTableMap) \ | 86 V(Map, script_context_table_map, ScriptContextTableMap) \ |
| 87 /* Maps */ \ | 87 /* Maps */ \ |
| 88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ | 88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ |
| 89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ | 89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ |
| 90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ | 90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ |
| 91 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ | 91 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ |
| 92 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ | 92 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ |
| 93 V(Map, message_object_map, JSMessageObjectMap) \ | 93 V(Map, message_object_map, JSMessageObjectMap) \ |
| 94 V(Map, neander_map, NeanderMap) \ | |
| 95 V(Map, external_map, ExternalMap) \ | 94 V(Map, external_map, ExternalMap) \ |
| 96 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 95 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
| 97 /* String maps */ \ | 96 /* String maps */ \ |
| 98 V(Map, native_source_string_map, NativeSourceStringMap) \ | 97 V(Map, native_source_string_map, NativeSourceStringMap) \ |
| 99 V(Map, string_map, StringMap) \ | 98 V(Map, string_map, StringMap) \ |
| 100 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ | 99 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ |
| 101 V(Map, cons_string_map, ConsStringMap) \ | 100 V(Map, cons_string_map, ConsStringMap) \ |
| 102 V(Map, sliced_string_map, SlicedStringMap) \ | 101 V(Map, sliced_string_map, SlicedStringMap) \ |
| 103 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \ | 102 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \ |
| 104 V(Map, external_string_map, ExternalStringMap) \ | 103 V(Map, external_string_map, ExternalStringMap) \ |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 V(ModuleContextMap) \ | 298 V(ModuleContextMap) \ |
| 300 V(ScriptContextMap) \ | 299 V(ScriptContextMap) \ |
| 301 V(UndefinedMap) \ | 300 V(UndefinedMap) \ |
| 302 V(TheHoleMap) \ | 301 V(TheHoleMap) \ |
| 303 V(NullMap) \ | 302 V(NullMap) \ |
| 304 V(BooleanMap) \ | 303 V(BooleanMap) \ |
| 305 V(UninitializedMap) \ | 304 V(UninitializedMap) \ |
| 306 V(ArgumentsMarkerMap) \ | 305 V(ArgumentsMarkerMap) \ |
| 307 V(JSMessageObjectMap) \ | 306 V(JSMessageObjectMap) \ |
| 308 V(ForeignMap) \ | 307 V(ForeignMap) \ |
| 309 V(NeanderMap) \ | |
| 310 V(NanValue) \ | 308 V(NanValue) \ |
| 311 V(InfinityValue) \ | 309 V(InfinityValue) \ |
| 312 V(MinusZeroValue) \ | 310 V(MinusZeroValue) \ |
| 313 V(MinusInfinityValue) \ | 311 V(MinusInfinityValue) \ |
| 314 V(EmptyWeakCell) \ | 312 V(EmptyWeakCell) \ |
| 315 V(empty_string) \ | 313 V(empty_string) \ |
| 316 PRIVATE_SYMBOL_LIST(V) | 314 PRIVATE_SYMBOL_LIST(V) |
| 317 | 315 |
| 318 // Forward declarations. | 316 // Forward declarations. |
| 319 class AllocationObserver; | 317 class AllocationObserver; |
| (...skipping 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2644 } | 2642 } |
| 2645 | 2643 |
| 2646 private: | 2644 private: |
| 2647 Heap* heap_; | 2645 Heap* heap_; |
| 2648 }; | 2646 }; |
| 2649 | 2647 |
| 2650 } // namespace internal | 2648 } // namespace internal |
| 2651 } // namespace v8 | 2649 } // namespace v8 |
| 2652 | 2650 |
| 2653 #endif // V8_HEAP_HEAP_H_ | 2651 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |