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

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

Issue 1409123003: [runtime] Avoid @@isConcatSpreadable lookup for fast path Array.prototype.concat (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merging with master Created 4 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
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 182 V(SeededNumberDictionary, empty_slow_element_dictionary, \
183 EmptySlowElementDictionary) \ 183 EmptySlowElementDictionary) \
184 V(FixedArray, materialized_objects, MaterializedObjects) \ 184 V(FixedArray, materialized_objects, MaterializedObjects) \
185 V(FixedArray, microtask_queue, MicrotaskQueue) \ 185 V(FixedArray, microtask_queue, MicrotaskQueue) \
186 V(TypeFeedbackVector, dummy_vector, DummyVector) \ 186 V(TypeFeedbackVector, dummy_vector, DummyVector) \
187 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ 187 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \
188 V(FixedArray, detached_contexts, DetachedContexts) \ 188 V(FixedArray, detached_contexts, DetachedContexts) \
189 V(ArrayList, retained_maps, RetainedMaps) \ 189 V(ArrayList, retained_maps, RetainedMaps) \
190 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 190 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
191 V(PropertyCell, array_protector, ArrayProtector) \ 191 V(PropertyCell, array_protector, ArrayProtector) \
192 V(PropertyCell, array_is_concat_spreadable_protector, \
193 ArrayIsConcatSpreadableProtector) \
192 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 194 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
193 V(Object, weak_stack_trace_list, WeakStackTraceList) \ 195 V(Object, weak_stack_trace_list, WeakStackTraceList) \
194 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ 196 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \
195 V(Map, bytecode_array_map, BytecodeArrayMap) \ 197 V(Map, bytecode_array_map, BytecodeArrayMap) \
196 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ 198 V(WeakCell, empty_weak_cell, EmptyWeakCell) \
197 V(PropertyCell, species_protector, SpeciesProtector) 199 V(PropertyCell, species_protector, SpeciesProtector)
198 200
199 // Entries in this list are limited to Smis and are not visited during GC. 201 // Entries in this list are limited to Smis and are not visited during GC.
200 #define SMI_ROOT_LIST(V) \ 202 #define SMI_ROOT_LIST(V) \
201 V(Smi, stack_limit, StackLimit) \ 203 V(Smi, stack_limit, StackLimit) \
(...skipping 2452 matching lines...) Expand 10 before | Expand all | Expand 10 after
2654 friend class LargeObjectSpace; 2656 friend class LargeObjectSpace;
2655 friend class NewSpace; 2657 friend class NewSpace;
2656 friend class PagedSpace; 2658 friend class PagedSpace;
2657 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2659 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2658 }; 2660 };
2659 2661
2660 } // namespace internal 2662 } // namespace internal
2661 } // namespace v8 2663 } // namespace v8
2662 2664
2663 #endif // V8_HEAP_HEAP_H_ 2665 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698