OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ | 785 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ |
786 /* ES #sec-regexp.prototype-@@replace */ \ | 786 /* ES #sec-regexp.prototype-@@replace */ \ |
787 TFJ(RegExpPrototypeReplace, 2, kString, kReplaceValue) \ | 787 TFJ(RegExpPrototypeReplace, 2, kString, kReplaceValue) \ |
788 \ | 788 \ |
789 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 789 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ |
790 /* ES #sec-regexp.prototype-@@split */ \ | 790 /* ES #sec-regexp.prototype-@@split */ \ |
791 TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \ | 791 TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \ |
792 \ | 792 \ |
793 /* SharedArrayBuffer */ \ | 793 /* SharedArrayBuffer */ \ |
794 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 794 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
| 795 CPP(SharedArrayBufferPrototypeSlice) \ |
795 TFJ(AtomicsLoad, 2, kArray, kIndex) \ | 796 TFJ(AtomicsLoad, 2, kArray, kIndex) \ |
796 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \ | 797 TFJ(AtomicsStore, 3, kArray, kIndex, kValue) \ |
797 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \ | 798 TFJ(AtomicsExchange, 3, kArray, kIndex, kValue) \ |
798 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \ | 799 TFJ(AtomicsCompareExchange, 4, kArray, kIndex, kOldValue, kNewValue) \ |
799 CPP(AtomicsAdd) \ | 800 CPP(AtomicsAdd) \ |
800 CPP(AtomicsSub) \ | 801 CPP(AtomicsSub) \ |
801 CPP(AtomicsAnd) \ | 802 CPP(AtomicsAnd) \ |
802 CPP(AtomicsOr) \ | 803 CPP(AtomicsOr) \ |
803 CPP(AtomicsXor) \ | 804 CPP(AtomicsXor) \ |
804 CPP(AtomicsIsLockFree) \ | 805 CPP(AtomicsIsLockFree) \ |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 | 1102 |
1102 friend class Isolate; | 1103 friend class Isolate; |
1103 | 1104 |
1104 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1105 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1105 }; | 1106 }; |
1106 | 1107 |
1107 } // namespace internal | 1108 } // namespace internal |
1108 } // namespace v8 | 1109 } // namespace v8 |
1109 | 1110 |
1110 #endif // V8_BUILTINS_BUILTINS_H_ | 1111 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |