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

Side by Side Diff: src/contexts.h

Issue 1982203003: [runtime] Fix effect of setting .prototype on generator functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ignition test rebaseline Created 4 years, 7 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/bootstrapper.cc ('k') | src/objects.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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \ 175 V(FLOAT32_ARRAY_FUN_INDEX, JSFunction, float32_array_fun) \
176 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \ 176 V(FLOAT32X4_FUNCTION_INDEX, JSFunction, float32x4_function) \
177 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \ 177 V(FLOAT64_ARRAY_FUN_INDEX, JSFunction, float64_array_fun) \
178 V(TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \ 178 V(TEMPLATE_INSTANTIATIONS_CACHE_INDEX, UnseededNumberDictionary, \
179 template_instantiations_cache) \ 179 template_instantiations_cache) \
180 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \ 180 V(FUNCTION_FUNCTION_INDEX, JSFunction, function_function) \
181 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \ 181 V(GENERATOR_FUNCTION_FUNCTION_INDEX, JSFunction, \
182 generator_function_function) \ 182 generator_function_function) \
183 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \ 183 V(GENERATOR_OBJECT_PROTOTYPE_MAP_INDEX, Map, generator_object_prototype_map) \
184 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \ 184 V(INITIAL_ARRAY_PROTOTYPE_INDEX, JSObject, initial_array_prototype) \
185 V(INITIAL_GENERATOR_PROTOTYPE_INDEX, JSObject, initial_generator_prototype) \
185 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \ 186 V(INITIAL_OBJECT_PROTOTYPE_INDEX, JSObject, initial_object_prototype) \
186 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ 187 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \
187 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \ 188 V(INT16X8_FUNCTION_INDEX, JSFunction, int16x8_function) \
188 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \ 189 V(INT32_ARRAY_FUN_INDEX, JSFunction, int32_array_fun) \
189 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \ 190 V(INT32X4_FUNCTION_INDEX, JSFunction, int32x4_function) \
190 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 191 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \
191 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \ 192 V(INT8X16_FUNCTION_INDEX, JSFunction, int8x16_function) \
192 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \ 193 V(INTERNAL_ARRAY_FUNCTION_INDEX, JSFunction, internal_array_function) \
193 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \ 194 V(ITERATOR_RESULT_MAP_INDEX, Map, iterator_result_map) \
194 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \ 195 V(JS_ARRAY_FAST_SMI_ELEMENTS_MAP_INDEX, Map, \
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 #endif 569 #endif
569 570
570 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 571 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
571 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 572 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
572 }; 573 };
573 574
574 } // namespace internal 575 } // namespace internal
575 } // namespace v8 576 } // namespace v8
576 577
577 #endif // V8_CONTEXTS_H_ 578 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698