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

Side by Side Diff: src/contexts.h

Issue 1533803002: Revert of [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/ia32/builtins-ia32.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(MAKE_RANGE_ERROR_INDEX, JSFunction, make_range_error) \ 84 V(MAKE_RANGE_ERROR_INDEX, JSFunction, make_range_error) \
85 V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \ 85 V(MAKE_TYPE_ERROR_INDEX, JSFunction, make_type_error) \
86 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ 86 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \
87 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ 87 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \
88 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ 88 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \
89 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ 89 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \
90 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ 90 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \
91 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) 91 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable)
92 92
93 93
94 #define NATIVE_CONTEXT_JS_BUILTINS(V) \ 94 #define NATIVE_CONTEXT_JS_BUILTINS(V) \
95 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \ 95 V(APPLY_PREPARE_BUILTIN_INDEX, JSFunction, apply_prepare_builtin) \
96 concat_iterable_to_array_builtin) 96 V(CONCAT_ITERABLE_TO_ARRAY_BUILTIN_INDEX, JSFunction, \
97 concat_iterable_to_array_builtin) \
98 V(REFLECT_APPLY_PREPARE_BUILTIN_INDEX, JSFunction, \
99 reflect_apply_prepare_builtin) \
100 V(REFLECT_CONSTRUCT_PREPARE_BUILTIN_INDEX, JSFunction, \
101 reflect_construct_prepare_builtin)
97 102
98 103
99 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 104 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
100 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 105 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
101 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 106 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
102 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 107 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
103 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 108 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
104 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 109 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
105 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 110 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
106 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 111 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 #endif 592 #endif
588 593
589 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 594 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
590 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 595 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
591 }; 596 };
592 597
593 } // namespace internal 598 } // namespace internal
594 } // namespace v8 599 } // namespace v8
595 600
596 #endif // V8_CONTEXTS_H_ 601 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698