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

Side by Side Diff: src/contexts.h

Issue 2018983002: [builtins] Also migrate String.prototype.toLowerCase/toUpperCase to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@StringTrim
Patch Set: REBASE Created 4 years, 6 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/builtins.cc ('k') | src/js/i18n.js » ('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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V(OBJECT_FREEZE, JSFunction, object_freeze) \ 77 V(OBJECT_FREEZE, JSFunction, object_freeze) \
78 V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \ 78 V(OBJECT_GET_PROTOTYPE_OF, JSFunction, object_get_prototype_of) \
79 V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \ 79 V(OBJECT_IS_EXTENSIBLE, JSFunction, object_is_extensible) \
80 V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \ 80 V(OBJECT_IS_FROZEN, JSFunction, object_is_frozen) \
81 V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \ 81 V(OBJECT_IS_SEALED, JSFunction, object_is_sealed) \
82 V(OBJECT_KEYS, JSFunction, object_keys) \ 82 V(OBJECT_KEYS, JSFunction, object_keys) \
83 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ 83 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \
84 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ 84 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \
85 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \ 85 V(REFLECT_DEFINE_PROPERTY_INDEX, JSFunction, reflect_define_property) \
86 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \ 86 V(REFLECT_DELETE_PROPERTY_INDEX, JSFunction, reflect_delete_property) \
87 V(STRING_TO_LOWER_CASE_INDEX, JSFunction, string_to_lower_case) \
88 V(STRING_TO_UPPER_CASE_INDEX, JSFunction, string_to_upper_case) \
87 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \ 89 V(SPREAD_ARGUMENTS_INDEX, JSFunction, spread_arguments) \
88 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \ 90 V(SPREAD_ITERABLE_INDEX, JSFunction, spread_iterable) \
89 V(MATH_FLOOR, JSFunction, math_floor) \ 91 V(MATH_FLOOR, JSFunction, math_floor) \
90 V(MATH_SQRT, JSFunction, math_sqrt) 92 V(MATH_SQRT, JSFunction, math_sqrt)
91 93
92 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 94 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
93 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 95 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
94 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 96 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
95 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 97 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
96 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 98 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 #endif 569 #endif
568 570
569 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 571 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
570 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 572 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
571 }; 573 };
572 574
573 } // namespace internal 575 } // namespace internal
574 } // namespace v8 576 } // namespace v8
575 577
576 #endif // V8_CONTEXTS_H_ 578 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/js/i18n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698