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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ | 560 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ |
561 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ | 561 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ |
562 \ | 562 \ |
563 /* Promise */ \ | 563 /* Promise */ \ |
564 TFJ(PromiseConstructor, 1) \ | 564 TFJ(PromiseConstructor, 1) \ |
565 TFJ(PromiseInternalConstructor, 0) \ | 565 TFJ(PromiseInternalConstructor, 0) \ |
566 TFJ(IsPromise, 1) \ | 566 TFJ(IsPromise, 1) \ |
567 CPP(CreateResolvingFunctions) \ | 567 CPP(CreateResolvingFunctions) \ |
568 CPP(PromiseResolveClosure) \ | 568 CPP(PromiseResolveClosure) \ |
569 CPP(PromiseRejectClosure) \ | 569 CPP(PromiseRejectClosure) \ |
| 570 TFJ(PromiseThen, 2) \ |
| 571 TFJ(PromiseCreateAndSet, 2) \ |
| 572 TFJ(PerformPromiseThen, 4) \ |
570 \ | 573 \ |
571 /* Proxy */ \ | 574 /* Proxy */ \ |
572 CPP(ProxyConstructor) \ | 575 CPP(ProxyConstructor) \ |
573 CPP(ProxyConstructor_ConstructStub) \ | 576 CPP(ProxyConstructor_ConstructStub) \ |
574 \ | 577 \ |
575 /* Reflect */ \ | 578 /* Reflect */ \ |
576 ASM(ReflectApply) \ | 579 ASM(ReflectApply) \ |
577 ASM(ReflectConstruct) \ | 580 ASM(ReflectConstruct) \ |
578 CPP(ReflectDefineProperty) \ | 581 CPP(ReflectDefineProperty) \ |
579 CPP(ReflectDeleteProperty) \ | 582 CPP(ReflectDeleteProperty) \ |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 | 845 |
843 friend class Isolate; | 846 friend class Isolate; |
844 | 847 |
845 DISALLOW_COPY_AND_ASSIGN(Builtins); | 848 DISALLOW_COPY_AND_ASSIGN(Builtins); |
846 }; | 849 }; |
847 | 850 |
848 } // namespace internal | 851 } // namespace internal |
849 } // namespace v8 | 852 } // namespace v8 |
850 | 853 |
851 #endif // V8_BUILTINS_BUILTINS_H_ | 854 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |