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

Side by Side Diff: src/contexts.h

Issue 2465253011: Fastpath some spread-call desugaring. (Closed)
Patch Set: Handles double arrays too Created 4 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.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_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ 219 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \
220 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ 220 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \
221 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ 221 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \
222 fast_template_instantiations_cache) \ 222 fast_template_instantiations_cache) \
223 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ 223 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \
224 slow_template_instantiations_cache) \ 224 slow_template_instantiations_cache) \
225 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ 225 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \
226 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ 226 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \
227 generator_function_function) \ 227 generator_function_function) \
228 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ 228 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \
229 V(INITIAL_ARRAY_ITERATOR_PROTOTYPE_INDEX, JSObject, \
230 initial_array_iterator_prototype) \
231 V(INITIAL_ARRAY_ITERATOR_PROTOTYPE_MAP_INDEX, Map, \
232 initial_array_iterator_prototype_map) \
229 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ 233 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \
230 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \ 234 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \
231 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \ 235 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \
232 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 236 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
233 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 237 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
234 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ 238 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
235 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 239 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
236 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ 240 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
237 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 241 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
238 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ 242 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 653 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
650 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 654 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
651 }; 655 };
652 656
653 typedef Context::Field ContextField; 657 typedef Context::Field ContextField;
654 658
655 } // namespace internal 659 } // namespace internal
656 } // namespace v8 660 } // namespace v8
657 661
658 #endif // V8_CONTEXTS_H_ 662 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698