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/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 CPP(ReflectOwnKeys) \ | 529 CPP(ReflectOwnKeys) \ |
530 CPP(ReflectPreventExtensions) \ | 530 CPP(ReflectPreventExtensions) \ |
531 CPP(ReflectSet) \ | 531 CPP(ReflectSet) \ |
532 CPP(ReflectSetPrototypeOf) \ | 532 CPP(ReflectSetPrototypeOf) \ |
533 \ | 533 \ |
534 /* SharedArrayBuffer */ \ | 534 /* SharedArrayBuffer */ \ |
535 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 535 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
536 TFJ(AtomicsLoad, 3) \ | 536 TFJ(AtomicsLoad, 3) \ |
537 TFJ(AtomicsStore, 4) \ | 537 TFJ(AtomicsStore, 4) \ |
538 \ | 538 \ |
| 539 /* RegExp */ \ |
| 540 TFJ(RegExpPrototypeExec, 2) \ |
| 541 \ |
539 /* String */ \ | 542 /* String */ \ |
540 ASM(StringConstructor) \ | 543 ASM(StringConstructor) \ |
541 ASM(StringConstructor_ConstructStub) \ | 544 ASM(StringConstructor_ConstructStub) \ |
542 CPP(StringFromCodePoint) \ | 545 CPP(StringFromCodePoint) \ |
543 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 546 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
544 TFJ(StringFromCharCode, 2) \ | 547 TFJ(StringFromCharCode, 2) \ |
545 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 548 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
546 TFJ(StringPrototypeCharAt, 2) \ | 549 TFJ(StringPrototypeCharAt, 2) \ |
547 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 550 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
548 TFJ(StringPrototypeCharCodeAt, 2) \ | 551 TFJ(StringPrototypeCharCodeAt, 2) \ |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 | 729 |
727 friend class Isolate; | 730 friend class Isolate; |
728 | 731 |
729 DISALLOW_COPY_AND_ASSIGN(Builtins); | 732 DISALLOW_COPY_AND_ASSIGN(Builtins); |
730 }; | 733 }; |
731 | 734 |
732 } // namespace internal | 735 } // namespace internal |
733 } // namespace v8 | 736 } // namespace v8 |
734 | 737 |
735 #endif // V8_BUILTINS_BUILTINS_H_ | 738 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |