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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 CPP(ReflectGet) \ | 525 CPP(ReflectGet) \ |
526 CPP(ReflectGetOwnPropertyDescriptor) \ | 526 CPP(ReflectGetOwnPropertyDescriptor) \ |
527 CPP(ReflectGetPrototypeOf) \ | 527 CPP(ReflectGetPrototypeOf) \ |
528 CPP(ReflectHas) \ | 528 CPP(ReflectHas) \ |
529 CPP(ReflectIsExtensible) \ | 529 CPP(ReflectIsExtensible) \ |
530 CPP(ReflectOwnKeys) \ | 530 CPP(ReflectOwnKeys) \ |
531 CPP(ReflectPreventExtensions) \ | 531 CPP(ReflectPreventExtensions) \ |
532 CPP(ReflectSet) \ | 532 CPP(ReflectSet) \ |
533 CPP(ReflectSetPrototypeOf) \ | 533 CPP(ReflectSetPrototypeOf) \ |
534 \ | 534 \ |
| 535 /* RegExp */ \ |
| 536 CPP(RegExpConstructor) \ |
| 537 TFJ(RegExpPrototypeExec, 2) \ |
| 538 \ |
535 /* SharedArrayBuffer */ \ | 539 /* SharedArrayBuffer */ \ |
536 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 540 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
537 TFJ(AtomicsLoad, 3) \ | 541 TFJ(AtomicsLoad, 3) \ |
538 TFJ(AtomicsStore, 4) \ | 542 TFJ(AtomicsStore, 4) \ |
539 \ | 543 \ |
540 /* RegExp */ \ | |
541 TFJ(RegExpPrototypeExec, 2) \ | |
542 \ | |
543 /* String */ \ | 544 /* String */ \ |
544 ASM(StringConstructor) \ | 545 ASM(StringConstructor) \ |
545 ASM(StringConstructor_ConstructStub) \ | 546 ASM(StringConstructor_ConstructStub) \ |
546 CPP(StringFromCodePoint) \ | 547 CPP(StringFromCodePoint) \ |
547 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 548 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
548 TFJ(StringFromCharCode, 2) \ | 549 TFJ(StringFromCharCode, 2) \ |
549 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 550 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
550 TFJ(StringPrototypeCharAt, 2) \ | 551 TFJ(StringPrototypeCharAt, 2) \ |
551 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 552 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
552 TFJ(StringPrototypeCharCodeAt, 2) \ | 553 TFJ(StringPrototypeCharCodeAt, 2) \ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 | 735 |
735 friend class Isolate; | 736 friend class Isolate; |
736 | 737 |
737 DISALLOW_COPY_AND_ASSIGN(Builtins); | 738 DISALLOW_COPY_AND_ASSIGN(Builtins); |
738 }; | 739 }; |
739 | 740 |
740 } // namespace internal | 741 } // namespace internal |
741 } // namespace v8 | 742 } // namespace v8 |
742 | 743 |
743 #endif // V8_BUILTINS_BUILTINS_H_ | 744 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |