OLD | NEW |
1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 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_BUILTINS_BUILTINS_DEFINITIONS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 TFJ(RegExpPrototypeStickyGetter, 0) \ | 801 TFJ(RegExpPrototypeStickyGetter, 0) \ |
802 /* ES #sec-regexp.prototype.test */ \ | 802 /* ES #sec-regexp.prototype.test */ \ |
803 TFJ(RegExpPrototypeTest, 1, kString) \ | 803 TFJ(RegExpPrototypeTest, 1, kString) \ |
804 CPP(RegExpPrototypeToString) \ | 804 CPP(RegExpPrototypeToString) \ |
805 /* ES #sec-get-regexp.prototype.unicode */ \ | 805 /* ES #sec-get-regexp.prototype.unicode */ \ |
806 TFJ(RegExpPrototypeUnicodeGetter, 0) \ | 806 TFJ(RegExpPrototypeUnicodeGetter, 0) \ |
807 CPP(RegExpRightContextGetter) \ | 807 CPP(RegExpRightContextGetter) \ |
808 \ | 808 \ |
809 TFS(RegExpReplace, kRegExp, kString, kReplaceValue) \ | 809 TFS(RegExpReplace, kRegExp, kString, kReplaceValue) \ |
810 /* ES #sec-regexp.prototype-@@replace */ \ | 810 /* ES #sec-regexp.prototype-@@replace */ \ |
811 TFJ(RegExpPrototypeReplace, 2, kString, kReplaceValue) \ | 811 TFJ(RegExpPrototypeReplace, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
812 \ | 812 \ |
813 TFS(RegExpSplit, kRegExp, kString, kLimit) \ | 813 TFS(RegExpSplit, kRegExp, kString, kLimit) \ |
814 /* ES #sec-regexp.prototype-@@split */ \ | 814 /* ES #sec-regexp.prototype-@@split */ \ |
815 TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \ | 815 TFJ(RegExpPrototypeSplit, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
816 \ | 816 \ |
817 /* SharedArrayBuffer */ \ | 817 /* SharedArrayBuffer */ \ |
818 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 818 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
819 CPP(SharedArrayBufferPrototypeSlice) \ | 819 CPP(SharedArrayBufferPrototypeSlice) \ |
820 TFJ(AtomicsLoad, 2, kArray, kIndex) \ | 820 TFJ(AtomicsLoad, 2, kArray, kIndex) \ |
821 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \ | 821 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \ |
822 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \ | 822 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \ |
823 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \ | 823 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \ |
824 TFJ(AtomicsAdd, 3, kArray, kIndex, kValue) \ | 824 TFJ(AtomicsAdd, 3, kArray, kIndex, kValue) \ |
825 TFJ(AtomicsSub, 3, kArray, kIndex, kValue) \ | 825 TFJ(AtomicsSub, 3, kArray, kIndex, kValue) \ |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 #define BUILTIN_LIST_TFS(V) \ | 1057 #define BUILTIN_LIST_TFS(V) \ |
1058 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1058 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1059 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1059 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1060 | 1060 |
1061 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1061 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1062 | 1062 |
1063 } // namespace internal | 1063 } // namespace internal |
1064 } // namespace v8 | 1064 } // namespace v8 |
1065 | 1065 |
1066 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1066 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |