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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 V(ArrayList, retained_maps, RetainedMaps) \ | 184 V(ArrayList, retained_maps, RetainedMaps) \ |
185 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 185 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
186 V(PropertyCell, array_protector, ArrayProtector) \ | 186 V(PropertyCell, array_protector, ArrayProtector) \ |
187 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 187 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
188 V(Object, weak_stack_trace_list, WeakStackTraceList) \ | 188 V(Object, weak_stack_trace_list, WeakStackTraceList) \ |
189 V(Object, code_stub_context, CodeStubContext) \ | 189 V(Object, code_stub_context, CodeStubContext) \ |
190 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \ | 190 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \ |
191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ | 191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ |
192 V(FixedArray, interpreter_table, InterpreterTable) \ | 192 V(FixedArray, interpreter_table, InterpreterTable) \ |
193 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 193 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
| 194 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
194 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) | 195 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) |
195 | 196 |
196 | 197 |
197 // 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. |
198 #define SMI_ROOT_LIST(V) \ | 199 #define SMI_ROOT_LIST(V) \ |
199 V(Smi, stack_limit, StackLimit) \ | 200 V(Smi, stack_limit, StackLimit) \ |
200 V(Smi, real_stack_limit, RealStackLimit) \ | 201 V(Smi, real_stack_limit, RealStackLimit) \ |
201 V(Smi, last_script_id, LastScriptId) \ | 202 V(Smi, last_script_id, LastScriptId) \ |
202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 203 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 204 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
(...skipping 2531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2736 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2736 | 2737 |
2737 private: | 2738 private: |
2738 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2739 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2739 }; | 2740 }; |
2740 #endif // DEBUG | 2741 #endif // DEBUG |
2741 } // namespace internal | 2742 } // namespace internal |
2742 } // namespace v8 | 2743 } // namespace v8 |
2743 | 2744 |
2744 #endif // V8_HEAP_HEAP_H_ | 2745 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |