Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: src/builtins/builtins.h

Issue 2536463002: Create JSPromise (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698