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

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

Issue 2695753002: [ESnext] Implement Promise.prototype.finally (Closed)
Patch Set: add comments Created 3 years, 10 months 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
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/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 TFJ(PromiseResolveClosure, 1) \ 659 TFJ(PromiseResolveClosure, 1) \
660 TFJ(PromiseRejectClosure, 1) \ 660 TFJ(PromiseRejectClosure, 1) \
661 TFJ(PromiseThen, 2) \ 661 TFJ(PromiseThen, 2) \
662 TFJ(PromiseCatch, 1) \ 662 TFJ(PromiseCatch, 1) \
663 TFJ(ResolvePromise, 2) \ 663 TFJ(ResolvePromise, 2) \
664 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject, 1) \ 664 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject, 1) \
665 TFJ(PromiseHandle, 5) \ 665 TFJ(PromiseHandle, 5) \
666 TFJ(PromiseResolve, 1) \ 666 TFJ(PromiseResolve, 1) \
667 TFJ(PromiseReject, 1) \ 667 TFJ(PromiseReject, 1) \
668 TFJ(InternalPromiseReject, 3) \ 668 TFJ(InternalPromiseReject, 3) \
669 TFJ(PromiseFinally, 1) \
670 TFJ(PromiseThenFinally, 1) \
671 TFJ(PromiseCatchFinally, 1) \
672 TFJ(PromiseValueThunkFinally, 0) \
673 TFJ(PromiseThrowerFinally, 0) \
669 \ 674 \
670 /* Proxy */ \ 675 /* Proxy */ \
671 CPP(ProxyConstructor) \ 676 CPP(ProxyConstructor) \
672 CPP(ProxyConstructor_ConstructStub) \ 677 CPP(ProxyConstructor_ConstructStub) \
673 \ 678 \
674 /* Reflect */ \ 679 /* Reflect */ \
675 ASM(ReflectApply) \ 680 ASM(ReflectApply) \
676 ASM(ReflectConstruct) \ 681 ASM(ReflectConstruct) \
677 CPP(ReflectDefineProperty) \ 682 CPP(ReflectDefineProperty) \
678 CPP(ReflectDeleteProperty) \ 683 CPP(ReflectDeleteProperty) \
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 959
955 friend class Isolate; 960 friend class Isolate;
956 961
957 DISALLOW_COPY_AND_ASSIGN(Builtins); 962 DISALLOW_COPY_AND_ASSIGN(Builtins);
958 }; 963 };
959 964
960 } // namespace internal 965 } // namespace internal
961 } // namespace v8 966 } // namespace v8
962 967
963 #endif // V8_BUILTINS_BUILTINS_H_ 968 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698