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