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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 CPP(ObjectLookupSetter) \ | 634 CPP(ObjectLookupSetter) \ |
635 CPP(ObjectPreventExtensions) \ | 635 CPP(ObjectPreventExtensions) \ |
636 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ | 636 /* ES6 section 19.1.3.6 Object.prototype.toString () */ \ |
637 TFJ(ObjectProtoToString, 0) \ | 637 TFJ(ObjectProtoToString, 0) \ |
638 CPP(ObjectPrototypePropertyIsEnumerable) \ | 638 CPP(ObjectPrototypePropertyIsEnumerable) \ |
639 CPP(ObjectPrototypeGetProto) \ | 639 CPP(ObjectPrototypeGetProto) \ |
640 CPP(ObjectPrototypeSetProto) \ | 640 CPP(ObjectPrototypeSetProto) \ |
641 CPP(ObjectSeal) \ | 641 CPP(ObjectSeal) \ |
642 CPP(ObjectValues) \ | 642 CPP(ObjectValues) \ |
643 \ | 643 \ |
| 644 /* instanceof */ \ |
| 645 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare, 1) \ |
644 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare, 1) \ | 646 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare, 1) \ |
645 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare, 1) \ | 647 \ |
| 648 /* for-in */ \ |
646 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter, 1) \ | 649 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter, 1) \ |
647 TFS(ForInNext, BUILTIN, kNoExtraICState, ForInNext, 1) \ | 650 TFS(ForInNext, BUILTIN, kNoExtraICState, ForInNext, 1) \ |
648 TFS(ForInPrepare, BUILTIN, kNoExtraICState, ForInPrepare, 3) \ | 651 TFS(ForInPrepare, BUILTIN, kNoExtraICState, ForInPrepare, 3) \ |
649 \ | 652 \ |
650 /* Promise */ \ | 653 /* Promise */ \ |
651 TFJ(PromiseGetCapabilitiesExecutor, 2) \ | 654 TFJ(PromiseGetCapabilitiesExecutor, 2) \ |
652 TFJ(NewPromiseCapability, 2) \ | 655 TFJ(NewPromiseCapability, 2) \ |
653 TFJ(PromiseConstructor, 1) \ | 656 TFJ(PromiseConstructor, 1) \ |
654 TFJ(PromiseInternalConstructor, 1) \ | 657 TFJ(PromiseInternalConstructor, 1) \ |
655 TFJ(IsPromise, 1) \ | 658 TFJ(IsPromise, 1) \ |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 | 954 |
952 friend class Isolate; | 955 friend class Isolate; |
953 | 956 |
954 DISALLOW_COPY_AND_ASSIGN(Builtins); | 957 DISALLOW_COPY_AND_ASSIGN(Builtins); |
955 }; | 958 }; |
956 | 959 |
957 } // namespace internal | 960 } // namespace internal |
958 } // namespace v8 | 961 } // namespace v8 |
959 | 962 |
960 #endif // V8_BUILTINS_BUILTINS_H_ | 963 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |