| 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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ | 721 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ |
| 722 TFJ(RegExpPrototypeReplace, 2) \ | 722 TFJ(RegExpPrototypeReplace, 2) \ |
| 723 \ | 723 \ |
| 724 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 724 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ |
| 725 TFJ(RegExpPrototypeSplit, 2) \ | 725 TFJ(RegExpPrototypeSplit, 2) \ |
| 726 \ | 726 \ |
| 727 /* SharedArrayBuffer */ \ | 727 /* SharedArrayBuffer */ \ |
| 728 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 728 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
| 729 TFJ(AtomicsLoad, 2) \ | 729 TFJ(AtomicsLoad, 2) \ |
| 730 TFJ(AtomicsStore, 3) \ | 730 TFJ(AtomicsStore, 3) \ |
| 731 CPP(AtomicsCompareExchange) \ |
| 732 CPP(AtomicsAdd) \ |
| 733 CPP(AtomicsSub) \ |
| 734 CPP(AtomicsAnd) \ |
| 735 CPP(AtomicsOr) \ |
| 736 CPP(AtomicsXor) \ |
| 737 CPP(AtomicsExchange) \ |
| 738 CPP(AtomicsIsLockFree) \ |
| 739 CPP(AtomicsWait) \ |
| 740 CPP(AtomicsWake) \ |
| 731 \ | 741 \ |
| 732 /* String */ \ | 742 /* String */ \ |
| 733 ASM(StringConstructor) \ | 743 ASM(StringConstructor) \ |
| 734 ASM(StringConstructor_ConstructStub) \ | 744 ASM(StringConstructor_ConstructStub) \ |
| 735 CPP(StringFromCodePoint) \ | 745 CPP(StringFromCodePoint) \ |
| 736 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 746 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
| 737 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 747 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
| 738 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 748 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
| 739 TFJ(StringPrototypeCharAt, 1) \ | 749 TFJ(StringPrototypeCharAt, 1) \ |
| 740 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 750 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 | 966 |
| 957 friend class Isolate; | 967 friend class Isolate; |
| 958 | 968 |
| 959 DISALLOW_COPY_AND_ASSIGN(Builtins); | 969 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 960 }; | 970 }; |
| 961 | 971 |
| 962 } // namespace internal | 972 } // namespace internal |
| 963 } // namespace v8 | 973 } // namespace v8 |
| 964 | 974 |
| 965 #endif // V8_BUILTINS_BUILTINS_H_ | 975 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |