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

Side by Side Diff: src/contexts.h

Issue 1448933002: Introduce a BuiltinsConstructStub that sets up new.target and does a [[call]] per ES6 9.3.2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/builtins.h ('k') | src/crankshaft/hydrogen.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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 V(MAP_CACHE_INDEX, Object, map_cache) \ 215 V(MAP_CACHE_INDEX, Object, map_cache) \
216 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \ 216 V(MAP_ITERATOR_MAP_INDEX, Map, map_iterator_map) \
217 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \ 217 V(STRING_ITERATOR_MAP_INDEX, Map, string_iterator_map) \
218 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 218 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
219 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \ 219 V(NATIVES_UTILS_OBJECT_INDEX, Object, natives_utils_object) \
220 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \ 220 V(NORMALIZED_MAP_CACHE_INDEX, Object, normalized_map_cache) \
221 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 221 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \
222 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 222 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \
223 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \ 223 V(OBJECT_FUNCTION_PROTOTYPE_MAP_INDEX, Map, object_function_prototype_map) \
224 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \ 224 V(OPAQUE_REFERENCE_FUNCTION_INDEX, JSFunction, opaque_reference_function) \
225 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \
225 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 226 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \
226 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ 227 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \
227 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 228 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
228 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ 229 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \
229 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ 230 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \
230 V(SECURITY_TOKEN_INDEX, Object, security_token) \ 231 V(SECURITY_TOKEN_INDEX, Object, security_token) \
231 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \ 232 V(SET_ITERATOR_MAP_INDEX, Map, set_iterator_map) \
232 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \ 233 V(SHARED_ARRAY_BUFFER_FUN_INDEX, JSFunction, shared_array_buffer_fun) \
233 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \ 234 V(SLOPPY_ARGUMENTS_MAP_INDEX, Map, sloppy_arguments_map) \
234 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \ 235 V(SLOPPY_FUNCTION_MAP_INDEX, Map, sloppy_function_map) \
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 #endif 555 #endif
555 556
556 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 557 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
557 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 558 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
558 }; 559 };
559 560
560 } // namespace internal 561 } // namespace internal
561 } // namespace v8 562 } // namespace v8
562 563
563 #endif // V8_CONTEXTS_H_ 564 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698