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 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 EmptySlowElementDictionary) \ | 182 EmptySlowElementDictionary) \ |
183 V(Symbol, observed_symbol, ObservedSymbol) \ | 183 V(Symbol, observed_symbol, ObservedSymbol) \ |
184 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ | 184 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ |
185 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ | 185 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ |
186 V(Symbol, premonomorphic_symbol, PremonomorphicSymbol) \ | 186 V(Symbol, premonomorphic_symbol, PremonomorphicSymbol) \ |
187 V(Symbol, generic_symbol, GenericSymbol) \ | 187 V(Symbol, generic_symbol, GenericSymbol) \ |
188 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ | 188 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ |
189 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ | 189 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ |
190 V(Symbol, normal_ic_symbol, NormalICSymbol) \ | 190 V(Symbol, normal_ic_symbol, NormalICSymbol) \ |
191 V(Symbol, home_object_symbol, HomeObjectSymbol) \ | 191 V(Symbol, home_object_symbol, HomeObjectSymbol) \ |
| 192 V(Symbol, promise_debug_marker_symbol, PromiseDebugMarkerSymbol) \ |
| 193 V(Symbol, promise_has_handler_symbol, PromiseHasHandlerSymbol) \ |
192 V(FixedArray, materialized_objects, MaterializedObjects) \ | 194 V(FixedArray, materialized_objects, MaterializedObjects) \ |
193 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 195 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
194 V(FixedArray, microtask_queue, MicrotaskQueue) | 196 V(FixedArray, microtask_queue, MicrotaskQueue) |
195 | 197 |
196 // Entries in this list are limited to Smis and are not visited during GC. | 198 // Entries in this list are limited to Smis and are not visited during GC. |
197 #define SMI_ROOT_LIST(V) \ | 199 #define SMI_ROOT_LIST(V) \ |
198 V(Smi, stack_limit, StackLimit) \ | 200 V(Smi, stack_limit, StackLimit) \ |
199 V(Smi, real_stack_limit, RealStackLimit) \ | 201 V(Smi, real_stack_limit, RealStackLimit) \ |
200 V(Smi, last_script_id, LastScriptId) \ | 202 V(Smi, last_script_id, LastScriptId) \ |
201 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 203 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2493 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2495 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2494 | 2496 |
2495 private: | 2497 private: |
2496 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2498 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2497 }; | 2499 }; |
2498 #endif // DEBUG | 2500 #endif // DEBUG |
2499 } | 2501 } |
2500 } // namespace v8::internal | 2502 } // namespace v8::internal |
2501 | 2503 |
2502 #endif // V8_HEAP_HEAP_H_ | 2504 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |