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

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

Issue 1052253003: Revert of Revert of Protect the emptiness of Array prototype elements with a PropertyCell. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/compilation-dependencies.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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 V(JSObject, observation_state, ObservationState) \ 178 V(JSObject, observation_state, ObservationState) \
179 V(Object, symbol_registry, SymbolRegistry) \ 179 V(Object, symbol_registry, SymbolRegistry) \
180 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 180 V(SeededNumberDictionary, empty_slow_element_dictionary, \
181 EmptySlowElementDictionary) \ 181 EmptySlowElementDictionary) \
182 V(FixedArray, materialized_objects, MaterializedObjects) \ 182 V(FixedArray, materialized_objects, MaterializedObjects) \
183 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 183 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
184 V(FixedArray, microtask_queue, MicrotaskQueue) \ 184 V(FixedArray, microtask_queue, MicrotaskQueue) \
185 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ 185 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \
186 V(FixedArray, detached_contexts, DetachedContexts) \ 186 V(FixedArray, detached_contexts, DetachedContexts) \
187 V(ArrayList, retained_maps, RetainedMaps) \ 187 V(ArrayList, retained_maps, RetainedMaps) \
188 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) 188 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
189 V(PropertyCell, array_protector, ArrayProtector)
189 190
190 // Entries in this list are limited to Smis and are not visited during GC. 191 // Entries in this list are limited to Smis and are not visited during GC.
191 #define SMI_ROOT_LIST(V) \ 192 #define SMI_ROOT_LIST(V) \
192 V(Smi, stack_limit, StackLimit) \ 193 V(Smi, stack_limit, StackLimit) \
193 V(Smi, real_stack_limit, RealStackLimit) \ 194 V(Smi, real_stack_limit, RealStackLimit) \
194 V(Smi, last_script_id, LastScriptId) \ 195 V(Smi, last_script_id, LastScriptId) \
195 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 196 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
196 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 197 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
197 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 198 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
198 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 199 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after
2636 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2637 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2637 2638
2638 private: 2639 private:
2639 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2640 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2640 }; 2641 };
2641 #endif // DEBUG 2642 #endif // DEBUG
2642 } 2643 }
2643 } // namespace v8::internal 2644 } // namespace v8::internal
2644 2645
2645 #endif // V8_HEAP_HEAP_H_ 2646 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/compilation-dependencies.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698