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

Side by Side Diff: src/contexts.h

Issue 2348493003: [builtins] move String.prototype[@@iterator] to C++ builtin (Closed)
Patch Set: V8 (rebase + fix bytecode expectations) Created 4 years, 3 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/compiler/types.cc ('k') | src/factory.h » ('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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \ 141 V(FAST_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, FixedArray, \
142 fast_template_instantiations_cache) \ 142 fast_template_instantiations_cache) \
143 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ 143 V(SLOW_TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \
144 slow_template_instantiations_cache) \ 144 slow_template_instantiations_cache) \
145 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ 145 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \
146 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ 146 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \
147 generator_function_function) \ 147 generator_function_function) \
148 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ 148 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \
149 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ 149 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \
150 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \ 150 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \
151 V(INITIAL_ITERATOR_PROTOTYPE_INDEX, JSObject, initial_iterator_prototype) \
151 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 152 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
152 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 153 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
153 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ 154 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
154 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 155 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
155 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ 156 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
156 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 157 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
157 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ 158 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
158 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 159 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
159 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 160 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
160 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \ 161 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 #endif 552 #endif
552 553
553 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 554 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
554 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 555 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
555 }; 556 };
556 557
557 } // namespace internal 558 } // namespace internal
558 } // namespace v8 559 } // namespace v8
559 560
560 #endif // V8_CONTEXTS_H_ 561 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/compiler/types.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698