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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 CPP(ObjectPrototypeSetProto) \ | 611 CPP(ObjectPrototypeSetProto) \ |
612 CPP(ObjectSeal) \ | 612 CPP(ObjectSeal) \ |
613 CPP(ObjectValues) \ | 613 CPP(ObjectValues) \ |
614 \ | 614 \ |
615 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ | 615 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ |
616 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ | 616 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ |
617 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ | 617 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ |
618 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ | 618 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ |
619 \ | 619 \ |
620 /* Promise */ \ | 620 /* Promise */ \ |
| 621 TFJ(PromiseGetCapabilitiesExecutor, 2) \ |
| 622 TFJ(NewPromiseCapability, 2) \ |
621 TFJ(PromiseConstructor, 1) \ | 623 TFJ(PromiseConstructor, 1) \ |
622 TFJ(PromiseInternalConstructor, 1) \ | 624 TFJ(PromiseInternalConstructor, 1) \ |
623 TFJ(IsPromise, 1) \ | 625 TFJ(IsPromise, 1) \ |
624 TFJ(CreateResolvingFunctions, 2) \ | |
625 TFJ(PromiseResolveClosure, 1) \ | 626 TFJ(PromiseResolveClosure, 1) \ |
626 CPP(PromiseRejectClosure) \ | 627 CPP(PromiseRejectClosure) \ |
627 TFJ(PromiseThen, 2) \ | 628 TFJ(PromiseThen, 2) \ |
628 TFJ(PromiseCatch, 1) \ | 629 TFJ(PromiseCatch, 1) \ |
629 TFJ(PromiseCreateAndSet, 2) \ | 630 TFJ(PromiseCreateAndSet, 2) \ |
630 TFJ(PerformPromiseThen, 4) \ | 631 TFJ(PerformPromiseThen, 4) \ |
631 TFJ(ResolvePromise, 2) \ | 632 TFJ(ResolvePromise, 2) \ |
632 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ | 633 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ |
633 TFJ(PromiseHandle, 6) \ | 634 TFJ(PromiseHandle, 6) \ |
634 \ | 635 \ |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 910 |
910 friend class Isolate; | 911 friend class Isolate; |
911 | 912 |
912 DISALLOW_COPY_AND_ASSIGN(Builtins); | 913 DISALLOW_COPY_AND_ASSIGN(Builtins); |
913 }; | 914 }; |
914 | 915 |
915 } // namespace internal | 916 } // namespace internal |
916 } // namespace v8 | 917 } // namespace v8 |
917 | 918 |
918 #endif // V8_BUILTINS_BUILTINS_H_ | 919 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |