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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
559 CPP(ObjectPrototypeSetProto) \ | 559 CPP(ObjectPrototypeSetProto) \ |
560 CPP(ObjectSeal) \ | 560 CPP(ObjectSeal) \ |
561 CPP(ObjectValues) \ | 561 CPP(ObjectValues) \ |
562 \ | 562 \ |
563 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ | 563 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ |
564 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ | 564 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ |
565 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ | 565 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ |
566 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ | 566 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ |
567 \ | 567 \ |
568 /* Promise */ \ | 568 /* Promise */ \ |
569 TFJ(PromiseGetCapabilitiesExecutor, 2) \ | |
570 TFJ(NewPromiseCapability, 2) \ | |
571 TFJ(NewInternalPromiseCapability, 1) \ | |
569 TFJ(PromiseConstructor, 1) \ | 572 TFJ(PromiseConstructor, 1) \ |
570 TFJ(PromiseInternalConstructor, 1) \ | 573 TFJ(PromiseInternalConstructor, 1) \ |
571 TFJ(IsPromise, 1) \ | 574 TFJ(IsPromise, 1) \ |
572 TFJ(CreateResolvingFunctions, 2) \ | 575 TFJ(CreateResolvingFunctions, 2) \ |
gsathya
2016/12/21 19:43:25
Can we remove this builtin?
caitp
2016/12/21 21:01:13
Done.
| |
573 TFJ(PromiseResolveClosure, 1) \ | 576 TFJ(PromiseResolveClosure, 1) \ |
574 CPP(PromiseRejectClosure) \ | 577 CPP(PromiseRejectClosure) \ |
575 TFJ(PromiseThen, 2) \ | 578 TFJ(PromiseThen, 2) \ |
576 TFJ(PromiseCreateAndSet, 2) \ | 579 TFJ(PromiseCreateAndSet, 2) \ |
577 TFJ(PerformPromiseThen, 4) \ | 580 TFJ(PerformPromiseThen, 4) \ |
578 TFJ(ResolvePromise, 2) \ | 581 TFJ(ResolvePromise, 2) \ |
579 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ | 582 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ |
580 TFJ(PromiseHandle, 4) \ | 583 TFJ(PromiseHandle, 4) \ |
581 \ | 584 \ |
582 /* Proxy */ \ | 585 /* Proxy */ \ |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
854 | 857 |
855 friend class Isolate; | 858 friend class Isolate; |
856 | 859 |
857 DISALLOW_COPY_AND_ASSIGN(Builtins); | 860 DISALLOW_COPY_AND_ASSIGN(Builtins); |
858 }; | 861 }; |
859 | 862 |
860 } // namespace internal | 863 } // namespace internal |
861 } // namespace v8 | 864 } // namespace v8 |
862 | 865 |
863 #endif // V8_BUILTINS_BUILTINS_H_ | 866 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |