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

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: simplifications Created 5 years, 1 month 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 V(Object, script_list, ScriptList) \ 175 V(Object, script_list, ScriptList) \
176 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 176 V(SeededNumberDictionary, empty_slow_element_dictionary, \
177 EmptySlowElementDictionary) \ 177 EmptySlowElementDictionary) \
178 V(FixedArray, materialized_objects, MaterializedObjects) \ 178 V(FixedArray, materialized_objects, MaterializedObjects) \
179 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ 179 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \
180 V(FixedArray, microtask_queue, MicrotaskQueue) \ 180 V(FixedArray, microtask_queue, MicrotaskQueue) \
181 V(TypeFeedbackVector, dummy_vector, DummyVector) \ 181 V(TypeFeedbackVector, dummy_vector, DummyVector) \
182 V(FixedArray, detached_contexts, DetachedContexts) \ 182 V(FixedArray, detached_contexts, DetachedContexts) \
183 V(ArrayList, retained_maps, RetainedMaps) \ 183 V(ArrayList, retained_maps, RetainedMaps) \
184 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ 184 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
185 V(PropertyCell, array_protector, ArrayProtector) \ 185 V(PropertyCell, array_elements_protector, ArrayElementsProtector) \
186 V(PropertyCell, array_is_concat_spreadable_protector, \
187 ArrayIsConcatSpreadableProtector) \
186 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 188 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
187 V(Object, weak_stack_trace_list, WeakStackTraceList) \ 189 V(Object, weak_stack_trace_list, WeakStackTraceList) \
188 V(Object, code_stub_context, CodeStubContext) \ 190 V(Object, code_stub_context, CodeStubContext) \
189 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \ 191 V(JSObject, code_stub_exports_object, CodeStubExportsObject) \
190 V(FixedArray, interpreter_table, InterpreterTable) \ 192 V(FixedArray, interpreter_table, InterpreterTable) \
191 V(Map, bytecode_array_map, BytecodeArrayMap) \ 193 V(Map, bytecode_array_map, BytecodeArrayMap) \
192 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) 194 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray)
193 195
194 196
195 // 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.
(...skipping 2520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2716 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2718 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2717 2719
2718 private: 2720 private:
2719 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2721 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2720 }; 2722 };
2721 #endif // DEBUG 2723 #endif // DEBUG
2722 } // namespace internal 2724 } // namespace internal
2723 } // namespace v8 2725 } // namespace v8
2724 2726
2725 #endif // V8_HEAP_HEAP_H_ 2727 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/heap/heap.cc » ('j') | src/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698