| 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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ | 726 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ |
| 727 TFJ(RegExpPrototypeReplace, 2) \ | 727 TFJ(RegExpPrototypeReplace, 2) \ |
| 728 \ | 728 \ |
| 729 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 729 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ |
| 730 TFJ(RegExpPrototypeSplit, 2) \ | 730 TFJ(RegExpPrototypeSplit, 2) \ |
| 731 \ | 731 \ |
| 732 /* SharedArrayBuffer */ \ | 732 /* SharedArrayBuffer */ \ |
| 733 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 733 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
| 734 TFJ(AtomicsLoad, 2) \ | 734 TFJ(AtomicsLoad, 2) \ |
| 735 TFJ(AtomicsStore, 3) \ | 735 TFJ(AtomicsStore, 3) \ |
| 736 CPP(AtomicsCompareExchange) \ | |
| 737 CPP(AtomicsAdd) \ | |
| 738 CPP(AtomicsSub) \ | |
| 739 CPP(AtomicsAnd) \ | |
| 740 CPP(AtomicsOr) \ | |
| 741 CPP(AtomicsXor) \ | |
| 742 CPP(AtomicsExchange) \ | |
| 743 CPP(AtomicsIsLockFree) \ | |
| 744 CPP(AtomicsWait) \ | |
| 745 CPP(AtomicsWake) \ | |
| 746 \ | 736 \ |
| 747 /* String */ \ | 737 /* String */ \ |
| 748 ASM(StringConstructor) \ | 738 ASM(StringConstructor) \ |
| 749 ASM(StringConstructor_ConstructStub) \ | 739 ASM(StringConstructor_ConstructStub) \ |
| 750 CPP(StringFromCodePoint) \ | 740 CPP(StringFromCodePoint) \ |
| 751 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 741 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
| 752 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 742 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
| 753 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 743 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
| 754 TFJ(StringPrototypeCharAt, 1) \ | 744 TFJ(StringPrototypeCharAt, 1) \ |
| 755 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 745 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 | 995 |
| 1006 friend class Isolate; | 996 friend class Isolate; |
| 1007 | 997 |
| 1008 DISALLOW_COPY_AND_ASSIGN(Builtins); | 998 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 1009 }; | 999 }; |
| 1010 | 1000 |
| 1011 } // namespace internal | 1001 } // namespace internal |
| 1012 } // namespace v8 | 1002 } // namespace v8 |
| 1013 | 1003 |
| 1014 #endif // V8_BUILTINS_BUILTINS_H_ | 1004 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |