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_H_ | 5 #ifndef V8_HEAP_H_ |
6 #define V8_HEAP_H_ | 6 #define V8_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "allocation.h" | 10 #include "allocation.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 V(Symbol, frozen_symbol, FrozenSymbol) \ | 189 V(Symbol, frozen_symbol, FrozenSymbol) \ |
190 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ | 190 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ |
191 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ | 191 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ |
192 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 192 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
193 EmptySlowElementDictionary) \ | 193 EmptySlowElementDictionary) \ |
194 V(Symbol, observed_symbol, ObservedSymbol) \ | 194 V(Symbol, observed_symbol, ObservedSymbol) \ |
195 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ | 195 V(Symbol, uninitialized_symbol, UninitializedSymbol) \ |
196 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ | 196 V(Symbol, megamorphic_symbol, MegamorphicSymbol) \ |
197 V(FixedArray, materialized_objects, MaterializedObjects) \ | 197 V(FixedArray, materialized_objects, MaterializedObjects) \ |
198 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 198 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
199 V(JSObject, microtask_state, MicrotaskState) | 199 V(FixedArray, microtask_queue, MicrotaskQueue) |
200 | 200 |
201 // Entries in this list are limited to Smis and are not visited during GC. | 201 // Entries in this list are limited to Smis and are not visited during GC. |
202 #define SMI_ROOT_LIST(V) \ | 202 #define SMI_ROOT_LIST(V) \ |
203 V(Smi, stack_limit, StackLimit) \ | 203 V(Smi, stack_limit, StackLimit) \ |
204 V(Smi, real_stack_limit, RealStackLimit) \ | 204 V(Smi, real_stack_limit, RealStackLimit) \ |
205 V(Smi, last_script_id, LastScriptId) \ | 205 V(Smi, last_script_id, LastScriptId) \ |
206 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 206 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
207 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 207 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
208 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 208 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
209 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) | 209 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
(...skipping 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2818 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2818 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2819 | 2819 |
2820 private: | 2820 private: |
2821 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2821 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2822 }; | 2822 }; |
2823 #endif // DEBUG | 2823 #endif // DEBUG |
2824 | 2824 |
2825 } } // namespace v8::internal | 2825 } } // namespace v8::internal |
2826 | 2826 |
2827 #endif // V8_HEAP_H_ | 2827 #endif // V8_HEAP_H_ |
OLD | NEW |