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

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

Issue 892173002: Megamorphic KeyedLoadIC needs special handling for vector ics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « include/v8.h ('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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 V(Script, empty_script, EmptyScript) \ 175 V(Script, empty_script, EmptyScript) \
176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 176 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
177 V(Cell, undefined_cell, UndefineCell) \ 177 V(Cell, undefined_cell, UndefineCell) \
178 V(JSObject, observation_state, ObservationState) \ 178 V(JSObject, observation_state, ObservationState) \
179 V(Map, external_map, ExternalMap) \ 179 V(Map, external_map, ExternalMap) \
180 V(Object, symbol_registry, SymbolRegistry) \ 180 V(Object, symbol_registry, SymbolRegistry) \
181 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 181 V(SeededNumberDictionary, empty_slow_element_dictionary, \
182 EmptySlowElementDictionary) \ 182 EmptySlowElementDictionary) \
183 V(FixedArray, materialized_objects, MaterializedObjects) \ 183 V(FixedArray, materialized_objects, MaterializedObjects) \
184 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 184 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
185 V(FixedArray, microtask_queue, MicrotaskQueue) 185 V(FixedArray, microtask_queue, MicrotaskQueue) \
186 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector)
186 187
187 // Entries in this list are limited to Smis and are not visited during GC. 188 // Entries in this list are limited to Smis and are not visited during GC.
188 #define SMI_ROOT_LIST(V) \ 189 #define SMI_ROOT_LIST(V) \
189 V(Smi, stack_limit, StackLimit) \ 190 V(Smi, stack_limit, StackLimit) \
190 V(Smi, real_stack_limit, RealStackLimit) \ 191 V(Smi, real_stack_limit, RealStackLimit) \
191 V(Smi, last_script_id, LastScriptId) \ 192 V(Smi, last_script_id, LastScriptId) \
192 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 193 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
193 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 194 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
194 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 195 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
195 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 196 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
(...skipping 2388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2584 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2585 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2585 2586
2586 private: 2587 private:
2587 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2588 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2588 }; 2589 };
2589 #endif // DEBUG 2590 #endif // DEBUG
2590 } 2591 }
2591 } // namespace v8::internal 2592 } // namespace v8::internal
2592 2593
2593 #endif // V8_HEAP_HEAP_H_ 2594 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698