| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 V(Map, undefined_map, UndefinedMap) \ | 220 V(Map, undefined_map, UndefinedMap) \ |
| 221 V(Map, the_hole_map, TheHoleMap) \ | 221 V(Map, the_hole_map, TheHoleMap) \ |
| 222 V(Map, null_map, NullMap) \ | 222 V(Map, null_map, NullMap) \ |
| 223 V(Map, boolean_map, BooleanMap) \ | 223 V(Map, boolean_map, BooleanMap) \ |
| 224 V(Map, uninitialized_map, UninitializedMap) \ | 224 V(Map, uninitialized_map, UninitializedMap) \ |
| 225 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ | 225 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ |
| 226 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ | 226 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ |
| 227 V(Map, exception_map, ExceptionMap) \ | 227 V(Map, exception_map, ExceptionMap) \ |
| 228 V(Map, termination_exception_map, TerminationExceptionMap) \ | 228 V(Map, termination_exception_map, TerminationExceptionMap) \ |
| 229 V(Map, optimized_out_map, OptimizedOutMap) \ | 229 V(Map, optimized_out_map, OptimizedOutMap) \ |
| 230 V(Map, stale_register_map, StaleRegisterMap) | 230 V(Map, stale_register_map, StaleRegisterMap) \ |
| 231 /* per-Isolate map for JSPromiseCapability. */ \ |
| 232 /* TODO(caitp): Make this a Struct */ \ |
| 233 V(Map, js_promise_capability_map, JSPromiseCapabilityMap) |
| 231 | 234 |
| 232 // Entries in this list are limited to Smis and are not visited during GC. | 235 // Entries in this list are limited to Smis and are not visited during GC. |
| 233 #define SMI_ROOT_LIST(V) \ | 236 #define SMI_ROOT_LIST(V) \ |
| 234 V(Smi, stack_limit, StackLimit) \ | 237 V(Smi, stack_limit, StackLimit) \ |
| 235 V(Smi, real_stack_limit, RealStackLimit) \ | 238 V(Smi, real_stack_limit, RealStackLimit) \ |
| 236 V(Smi, last_script_id, LastScriptId) \ | 239 V(Smi, last_script_id, LastScriptId) \ |
| 237 V(Smi, hash_seed, HashSeed) \ | 240 V(Smi, hash_seed, HashSeed) \ |
| 238 /* To distinguish the function templates, so that we can find them in the */ \ | 241 /* To distinguish the function templates, so that we can find them in the */ \ |
| 239 /* function cache of the native context. */ \ | 242 /* function cache of the native context. */ \ |
| 240 V(Smi, next_template_serial_number, NextTemplateSerialNumber) \ | 243 V(Smi, next_template_serial_number, NextTemplateSerialNumber) \ |
| (...skipping 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2674 friend class LargeObjectSpace; | 2677 friend class LargeObjectSpace; |
| 2675 friend class NewSpace; | 2678 friend class NewSpace; |
| 2676 friend class PagedSpace; | 2679 friend class PagedSpace; |
| 2677 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2680 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2678 }; | 2681 }; |
| 2679 | 2682 |
| 2680 } // namespace internal | 2683 } // namespace internal |
| 2681 } // namespace v8 | 2684 } // namespace v8 |
| 2682 | 2685 |
| 2683 #endif // V8_HEAP_HEAP_H_ | 2686 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |