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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/builtins/builtins-promise.cc ('k') | src/flag-definitions.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \ 283 V(PROXY_CALLABLE_MAP_INDEX, Map, proxy_callable_map) \
284 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \ 284 V(PROXY_CONSTRUCTOR_MAP_INDEX, Map, proxy_constructor_map) \
285 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \ 285 V(PROXY_FUNCTION_INDEX, JSFunction, proxy_function) \
286 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \ 286 V(PROXY_FUNCTION_MAP_INDEX, Map, proxy_function_map) \
287 V(PROXY_MAP_INDEX, Map, proxy_map) \ 287 V(PROXY_MAP_INDEX, Map, proxy_map) \
288 V(PROMISE_GET_CAPABILITIES_EXECUTOR_SHARED_FUN, SharedFunctionInfo, \ 288 V(PROMISE_GET_CAPABILITIES_EXECUTOR_SHARED_FUN, SharedFunctionInfo, \
289 promise_get_capabilities_executor_shared_fun) \ 289 promise_get_capabilities_executor_shared_fun) \
290 V(PROMISE_RESOLVE_SHARED_FUN, SharedFunctionInfo, \ 290 V(PROMISE_RESOLVE_SHARED_FUN, SharedFunctionInfo, \
291 promise_resolve_shared_fun) \ 291 promise_resolve_shared_fun) \
292 V(PROMISE_REJECT_SHARED_FUN, SharedFunctionInfo, promise_reject_shared_fun) \ 292 V(PROMISE_REJECT_SHARED_FUN, SharedFunctionInfo, promise_reject_shared_fun) \
293 V(PROMISE_THEN_FINALLY_SHARED_FUN, SharedFunctionInfo, \
294 promise_then_finally_shared_fun) \
295 V(PROMISE_CATCH_FINALLY_SHARED_FUN, SharedFunctionInfo, \
296 promise_catch_finally_shared_fun) \
297 V(PROMISE_VALUE_THUNK_FINALLY_SHARED_FUN, SharedFunctionInfo, \
298 promise_value_thunk_finally_shared_fun) \
299 V(PROMISE_THROWER_FINALLY_SHARED_FUN, SharedFunctionInfo, \
300 promise_thrower_finally_shared_fun) \
293 V(PROMISE_PROTOTYPE_MAP_INDEX, Map, promise_prototype_map) \ 301 V(PROMISE_PROTOTYPE_MAP_INDEX, Map, promise_prototype_map) \
294 V(REGEXP_EXEC_FUNCTION_INDEX, JSFunction, regexp_exec_function) \ 302 V(REGEXP_EXEC_FUNCTION_INDEX, JSFunction, regexp_exec_function) \
295 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 303 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \
296 V(REGEXP_LAST_MATCH_INFO_INDEX, RegExpMatchInfo, regexp_last_match_info) \ 304 V(REGEXP_LAST_MATCH_INFO_INDEX, RegExpMatchInfo, regexp_last_match_info) \
297 V(REGEXP_INTERNAL_MATCH_INFO_INDEX, RegExpMatchInfo, \ 305 V(REGEXP_INTERNAL_MATCH_INFO_INDEX, RegExpMatchInfo, \
298 regexp_internal_match_info) \ 306 regexp_internal_match_info) \
299 V(REGEXP_PROTOTYPE_MAP_INDEX, Map, regexp_prototype_map) \ 307 V(REGEXP_PROTOTYPE_MAP_INDEX, Map, regexp_prototype_map) \
300 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \ 308 V(REGEXP_RESULT_MAP_INDEX, Map, regexp_result_map) \
301 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \ 309 V(SCRIPT_CONTEXT_TABLE_INDEX, ScriptContextTable, script_context_table) \
302 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ 310 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 693 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
686 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 694 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
687 }; 695 };
688 696
689 typedef Context::Field ContextField; 697 typedef Context::Field ContextField;
690 698
691 } // namespace internal 699 } // namespace internal
692 } // namespace v8 700 } // namespace v8
693 701
694 #endif // V8_CONTEXTS_H_ 702 #endif // V8_CONTEXTS_H_
OLDNEW
« 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