| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 V(Map, external_map, ExternalMap) \ | 176 V(Map, external_map, ExternalMap) \ |
| 177 V(Object, symbol_registry, SymbolRegistry) \ | 177 V(Object, symbol_registry, SymbolRegistry) \ |
| 178 V(Symbol, frozen_symbol, FrozenSymbol) \ | 178 V(Symbol, frozen_symbol, FrozenSymbol) \ |
| 179 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ | 179 V(Symbol, nonexistent_symbol, NonExistentSymbol) \ |
| 180 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ | 180 V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ |
| 181 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 181 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
| 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) \ |
| 187 V(Symbol, generic_symbol, GenericSymbol) \ |
| 186 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ | 188 V(Symbol, stack_trace_symbol, StackTraceSymbol) \ |
| 187 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ | 189 V(Symbol, detailed_stack_trace_symbol, DetailedStackTraceSymbol) \ |
| 188 V(Symbol, normal_ic_symbol, NormalICSymbol) \ | 190 V(Symbol, normal_ic_symbol, NormalICSymbol) \ |
| 189 V(Symbol, home_object_symbol, HomeObjectSymbol) \ | 191 V(Symbol, home_object_symbol, HomeObjectSymbol) \ |
| 190 V(FixedArray, materialized_objects, MaterializedObjects) \ | 192 V(FixedArray, materialized_objects, MaterializedObjects) \ |
| 191 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 193 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
| 192 V(FixedArray, microtask_queue, MicrotaskQueue) | 194 V(FixedArray, microtask_queue, MicrotaskQueue) |
| 193 | 195 |
| 194 // Entries in this list are limited to Smis and are not visited during GC. | 196 // Entries in this list are limited to Smis and are not visited during GC. |
| 195 #define SMI_ROOT_LIST(V) \ | 197 #define SMI_ROOT_LIST(V) \ |
| (...skipping 2297 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 |