Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: src/heap/heap.h

Issue 1632993003: Revert of Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ 173 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \
174 V(Cell, undefined_cell, UndefinedCell) \ 174 V(Cell, undefined_cell, UndefinedCell) \
175 V(JSObject, observation_state, ObservationState) \ 175 V(JSObject, observation_state, ObservationState) \
176 V(Object, symbol_registry, SymbolRegistry) \ 176 V(Object, symbol_registry, SymbolRegistry) \
177 V(Object, script_list, ScriptList) \ 177 V(Object, script_list, ScriptList) \
178 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 178 V(SeededNumberDictionary, empty_slow_element_dictionary, \
179 EmptySlowElementDictionary) \ 179 EmptySlowElementDictionary) \
180 V(FixedArray, materialized_objects, MaterializedObjects) \ 180 V(FixedArray, materialized_objects, MaterializedObjects) \
181 V(FixedArray, microtask_queue, MicrotaskQueue) \ 181 V(FixedArray, microtask_queue, MicrotaskQueue) \
182 V(TypeFeedbackVector, dummy_vector, DummyVector) \ 182 V(TypeFeedbackVector, dummy_vector, DummyVector) \
183 V(FixedArray, empty_literals_array, EmptyLiteralsArray) \
184 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ 183 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \
185 V(FixedArray, detached_contexts, DetachedContexts) \ 184 V(FixedArray, detached_contexts, DetachedContexts) \
186 V(ArrayList, retained_maps, RetainedMaps) \ 185 V(ArrayList, retained_maps, RetainedMaps) \
187 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 186 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
188 V(PropertyCell, array_protector, ArrayProtector) \ 187 V(PropertyCell, array_protector, ArrayProtector) \
189 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 188 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
190 V(Object, weak_stack_trace_list, WeakStackTraceList) \ 189 V(Object, weak_stack_trace_list, WeakStackTraceList) \
191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ 190 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \
192 V(FixedArray, interpreter_table, InterpreterTable) \ 191 V(FixedArray, interpreter_table, InterpreterTable) \
193 V(Map, bytecode_array_map, BytecodeArrayMap) \ 192 V(Map, bytecode_array_map, BytecodeArrayMap) \
194 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ 193 V(WeakCell, empty_weak_cell, EmptyWeakCell) \
195 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) 194 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray)
196 195
196
197 // Entries in this list are limited to Smis and are not visited during GC. 197 // Entries in this list are limited to Smis and are not visited during GC.
198 #define SMI_ROOT_LIST(V) \ 198 #define SMI_ROOT_LIST(V) \
199 V(Smi, stack_limit, StackLimit) \ 199 V(Smi, stack_limit, StackLimit) \
200 V(Smi, real_stack_limit, RealStackLimit) \ 200 V(Smi, real_stack_limit, RealStackLimit) \
201 V(Smi, last_script_id, LastScriptId) \ 201 V(Smi, last_script_id, LastScriptId) \
202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
205 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 205 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
206 206
(...skipping 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after
2653 2653
2654 private: 2654 private:
2655 friend class NewSpace; 2655 friend class NewSpace;
2656 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver); 2656 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver);
2657 }; 2657 };
2658 2658
2659 } // namespace internal 2659 } // namespace internal
2660 } // namespace v8 2660 } // namespace v8
2661 2661
2662 #endif // V8_HEAP_HEAP_H_ 2662 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698