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

Unified Diff: src/contexts.h

Issue 2695753002: [ESnext] Implement Promise.prototype.finally (Closed)
Patch Set: Rename GotoUnless 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/builtins-promise.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 530e29ac7cb2eddd03be672e84cfe505b1cb04e6..5c88aa510834723b8ba0da88245ec64deccb408f 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -290,6 +290,14 @@ enum ContextLookupFlags {
V(PROMISE_RESOLVE_SHARED_FUN, SharedFunctionInfo, \
promise_resolve_shared_fun) \
V(PROMISE_REJECT_SHARED_FUN, SharedFunctionInfo, promise_reject_shared_fun) \
+ V(PROMISE_THEN_FINALLY_SHARED_FUN, SharedFunctionInfo, \
+ promise_then_finally_shared_fun) \
+ V(PROMISE_CATCH_FINALLY_SHARED_FUN, SharedFunctionInfo, \
+ promise_catch_finally_shared_fun) \
+ V(PROMISE_VALUE_THUNK_FINALLY_SHARED_FUN, SharedFunctionInfo, \
+ promise_value_thunk_finally_shared_fun) \
+ V(PROMISE_THROWER_FINALLY_SHARED_FUN, SharedFunctionInfo, \
+ promise_thrower_finally_shared_fun) \
V(PROMISE_PROTOTYPE_MAP_INDEX, Map, promise_prototype_map) \
V(REGEXP_EXEC_FUNCTION_INDEX, JSFunction, regexp_exec_function) \
V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \
« no previous file with comments | « src/builtins/builtins-promise.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698