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

Side by Side Diff: src/contexts.h

Issue 2276243002: Mark await expressions as caught or uncaught (Closed)
Patch Set: Revert "Tests for caught exception" Created 4 years, 3 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/ast/prettyprinter.cc ('k') | src/heap-symbols.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \ 62 #define NATIVE_CONTEXT_IMPORTED_FIELDS(V) \
63 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \ 63 V(ARRAY_CONCAT_INDEX, JSFunction, array_concat) \
64 V(ARRAY_POP_INDEX, JSFunction, array_pop) \ 64 V(ARRAY_POP_INDEX, JSFunction, array_pop) \
65 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \ 65 V(ARRAY_PUSH_INDEX, JSFunction, array_push) \
66 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \ 66 V(ARRAY_SHIFT_INDEX, JSFunction, array_shift) \
67 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \ 67 V(ARRAY_SPLICE_INDEX, JSFunction, array_splice) \
68 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \ 68 V(ARRAY_SLICE_INDEX, JSFunction, array_slice) \
69 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \ 69 V(ARRAY_UNSHIFT_INDEX, JSFunction, array_unshift) \
70 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \ 70 V(ARRAY_VALUES_ITERATOR_INDEX, JSFunction, array_values_iterator) \
71 V(ASYNC_FUNCTION_AWAIT_INDEX, JSFunction, async_function_await) \ 71 V(ASYNC_FUNCTION_AWAIT_CAUGHT_INDEX, JSFunction, \
72 async_function_await_caught) \
73 V(ASYNC_FUNCTION_AWAIT_UNCAUGHT_INDEX, JSFunction, \
74 async_function_await_uncaught) \
72 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \ 75 V(DERIVED_GET_TRAP_INDEX, JSFunction, derived_get_trap) \
73 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \ 76 V(ERROR_FUNCTION_INDEX, JSFunction, error_function) \
74 V(ERROR_TO_STRING, JSFunction, error_to_string) \ 77 V(ERROR_TO_STRING, JSFunction, error_to_string) \
75 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \ 78 V(EVAL_ERROR_FUNCTION_INDEX, JSFunction, eval_error_function) \
76 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \ 79 V(GLOBAL_EVAL_FUN_INDEX, JSFunction, global_eval_fun) \
77 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \ 80 V(MAP_DELETE_METHOD_INDEX, JSFunction, map_delete) \
78 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \ 81 V(MAP_GET_METHOD_INDEX, JSFunction, map_get) \
79 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \ 82 V(MAP_HAS_METHOD_INDEX, JSFunction, map_has) \
80 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \ 83 V(MAP_SET_METHOD_INDEX, JSFunction, map_set) \
81 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \ 84 V(OBJECT_VALUE_OF, JSFunction, object_value_of) \
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 #endif 547 #endif
545 548
546 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 549 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
547 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 550 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
548 }; 551 };
549 552
550 } // namespace internal 553 } // namespace internal
551 } // namespace v8 554 } // namespace v8
552 555
553 #endif // V8_CONTEXTS_H_ 556 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/ast/prettyprinter.cc ('k') | src/heap-symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698