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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 CPP(ObjectPrototypeSetProto) \ | 556 CPP(ObjectPrototypeSetProto) \ |
557 CPP(ObjectSeal) \ | 557 CPP(ObjectSeal) \ |
558 CPP(ObjectValues) \ | 558 CPP(ObjectValues) \ |
559 \ | 559 \ |
560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ | 560 TFS(HasProperty, BUILTIN, kNoExtraICState, HasProperty) \ |
561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ | 561 TFS(InstanceOf, BUILTIN, kNoExtraICState, Compare) \ |
562 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ | 562 TFS(OrdinaryHasInstance, BUILTIN, kNoExtraICState, Compare) \ |
563 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ | 563 TFS(ForInFilter, BUILTIN, kNoExtraICState, ForInFilter) \ |
564 \ | 564 \ |
565 /* Promise */ \ | 565 /* Promise */ \ |
| 566 TFJ(PromiseConstructor, 1) \ |
| 567 TFJ(PromiseInternalConstructor, 0) \ |
| 568 TFJ(IsPromise, 1) \ |
566 CPP(CreateResolvingFunctions) \ | 569 CPP(CreateResolvingFunctions) \ |
567 CPP(PromiseResolveClosure) \ | 570 CPP(PromiseResolveClosure) \ |
568 CPP(PromiseRejectClosure) \ | 571 CPP(PromiseRejectClosure) \ |
569 \ | 572 \ |
570 /* Proxy */ \ | 573 /* Proxy */ \ |
571 CPP(ProxyConstructor) \ | 574 CPP(ProxyConstructor) \ |
572 CPP(ProxyConstructor_ConstructStub) \ | 575 CPP(ProxyConstructor_ConstructStub) \ |
573 \ | 576 \ |
574 /* Reflect */ \ | 577 /* Reflect */ \ |
575 ASM(ReflectApply) \ | 578 ASM(ReflectApply) \ |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 | 844 |
842 friend class Isolate; | 845 friend class Isolate; |
843 | 846 |
844 DISALLOW_COPY_AND_ASSIGN(Builtins); | 847 DISALLOW_COPY_AND_ASSIGN(Builtins); |
845 }; | 848 }; |
846 | 849 |
847 } // namespace internal | 850 } // namespace internal |
848 } // namespace v8 | 851 } // namespace v8 |
849 | 852 |
850 #endif // V8_BUILTINS_BUILTINS_H_ | 853 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |