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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 /* Oddballs */ \ | 71 /* Oddballs */ \ |
72 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ | 72 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ |
73 V(Oddball, arguments_marker, ArgumentsMarker) \ | 73 V(Oddball, arguments_marker, ArgumentsMarker) \ |
74 V(Oddball, exception, Exception) \ | 74 V(Oddball, exception, Exception) \ |
75 V(Oddball, termination_exception, TerminationException) \ | 75 V(Oddball, termination_exception, TerminationException) \ |
76 V(Oddball, optimized_out, OptimizedOut) \ | 76 V(Oddball, optimized_out, OptimizedOut) \ |
77 V(Oddball, stale_register, StaleRegister) \ | 77 V(Oddball, stale_register, StaleRegister) \ |
78 /* Context maps */ \ | 78 /* Context maps */ \ |
79 V(Map, native_context_map, NativeContextMap) \ | 79 V(Map, native_context_map, NativeContextMap) \ |
80 V(Map, module_context_map, ModuleContextMap) \ | 80 V(Map, module_context_map, ModuleContextMap) \ |
| 81 V(Map, eval_context_map, EvalContextMap) \ |
81 V(Map, script_context_map, ScriptContextMap) \ | 82 V(Map, script_context_map, ScriptContextMap) \ |
82 V(Map, block_context_map, BlockContextMap) \ | 83 V(Map, block_context_map, BlockContextMap) \ |
83 V(Map, catch_context_map, CatchContextMap) \ | 84 V(Map, catch_context_map, CatchContextMap) \ |
84 V(Map, with_context_map, WithContextMap) \ | 85 V(Map, with_context_map, WithContextMap) \ |
85 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ | 86 V(Map, debug_evaluate_context_map, DebugEvaluateContextMap) \ |
86 V(Map, script_context_table_map, ScriptContextTableMap) \ | 87 V(Map, script_context_table_map, ScriptContextTableMap) \ |
87 /* Maps */ \ | 88 /* Maps */ \ |
88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ | 89 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ |
89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ | 90 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ |
90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ | 91 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 V(EmptyByteArray) \ | 291 V(EmptyByteArray) \ |
291 V(EmptyDescriptorArray) \ | 292 V(EmptyDescriptorArray) \ |
292 V(ArgumentsMarker) \ | 293 V(ArgumentsMarker) \ |
293 V(SymbolMap) \ | 294 V(SymbolMap) \ |
294 V(SloppyArgumentsElementsMap) \ | 295 V(SloppyArgumentsElementsMap) \ |
295 V(FunctionContextMap) \ | 296 V(FunctionContextMap) \ |
296 V(CatchContextMap) \ | 297 V(CatchContextMap) \ |
297 V(WithContextMap) \ | 298 V(WithContextMap) \ |
298 V(BlockContextMap) \ | 299 V(BlockContextMap) \ |
299 V(ModuleContextMap) \ | 300 V(ModuleContextMap) \ |
| 301 V(EvalContextMap) \ |
300 V(ScriptContextMap) \ | 302 V(ScriptContextMap) \ |
301 V(UndefinedMap) \ | 303 V(UndefinedMap) \ |
302 V(TheHoleMap) \ | 304 V(TheHoleMap) \ |
303 V(NullMap) \ | 305 V(NullMap) \ |
304 V(BooleanMap) \ | 306 V(BooleanMap) \ |
305 V(UninitializedMap) \ | 307 V(UninitializedMap) \ |
306 V(ArgumentsMarkerMap) \ | 308 V(ArgumentsMarkerMap) \ |
307 V(JSMessageObjectMap) \ | 309 V(JSMessageObjectMap) \ |
308 V(ForeignMap) \ | 310 V(ForeignMap) \ |
309 V(NeanderMap) \ | 311 V(NeanderMap) \ |
(...skipping 2330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2640 } | 2642 } |
2641 | 2643 |
2642 private: | 2644 private: |
2643 Heap* heap_; | 2645 Heap* heap_; |
2644 }; | 2646 }; |
2645 | 2647 |
2646 } // namespace internal | 2648 } // namespace internal |
2647 } // namespace v8 | 2649 } // namespace v8 |
2648 | 2650 |
2649 #endif // V8_HEAP_HEAP_H_ | 2651 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |