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

Side by Side Diff: src/heap-symbols.h

Issue 2645923003: [async-iteration] expose Symbol.asyncIterator behind flag --harmony-async-iteration (Closed)
Patch Set: for landing Created 3 years, 11 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/flag-definitions.h ('k') | test/mjsunit/harmony/symbol-async-iterator.js » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_HEAP_SYMBOLS_H_ 5 #ifndef V8_HEAP_SYMBOLS_H_
6 #define V8_HEAP_SYMBOLS_H_ 6 #define V8_HEAP_SYMBOLS_H_
7 7
8 #define INTERNALIZED_STRING_LIST(V) \ 8 #define INTERNALIZED_STRING_LIST(V) \
9 V(anonymous_function_string, "(anonymous function)") \ 9 V(anonymous_function_string, "(anonymous function)") \
10 V(anonymous_string, "anonymous") \ 10 V(anonymous_string, "anonymous") \
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 V(promise_async_stack_id_symbol) \ 235 V(promise_async_stack_id_symbol) \
236 V(promise_debug_marker_symbol) \ 236 V(promise_debug_marker_symbol) \
237 V(promise_forwarding_handler_symbol) \ 237 V(promise_forwarding_handler_symbol) \
238 V(promise_handled_by_symbol) \ 238 V(promise_handled_by_symbol) \
239 V(promise_async_id_symbol) \ 239 V(promise_async_id_symbol) \
240 V(sealed_symbol) \ 240 V(sealed_symbol) \
241 V(stack_trace_symbol) \ 241 V(stack_trace_symbol) \
242 V(strict_function_transition_symbol) \ 242 V(strict_function_transition_symbol) \
243 V(uninitialized_symbol) 243 V(uninitialized_symbol)
244 244
245 #define PUBLIC_SYMBOL_LIST(V) \ 245 #define PUBLIC_SYMBOL_LIST(V) \
246 V(iterator_symbol, Symbol.iterator) \ 246 V(async_iterator_symbol, Symbol.asyncIterator) \
247 V(intl_fallback_symbol, IntlFallback) \ 247 V(iterator_symbol, Symbol.iterator) \
248 V(match_symbol, Symbol.match) \ 248 V(intl_fallback_symbol, IntlFallback) \
249 V(replace_symbol, Symbol.replace) \ 249 V(match_symbol, Symbol.match) \
250 V(search_symbol, Symbol.search) \ 250 V(replace_symbol, Symbol.replace) \
251 V(species_symbol, Symbol.species) \ 251 V(search_symbol, Symbol.search) \
252 V(split_symbol, Symbol.split) \ 252 V(species_symbol, Symbol.species) \
253 V(to_primitive_symbol, Symbol.toPrimitive) \ 253 V(split_symbol, Symbol.split) \
254 V(to_primitive_symbol, Symbol.toPrimitive) \
254 V(unscopables_symbol, Symbol.unscopables) 255 V(unscopables_symbol, Symbol.unscopables)
255 256
256 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 257 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
257 // them to produce an undefined value when a load results in a failed access 258 // them to produce an undefined value when a load results in a failed access
258 // check. Because this behaviour is not specified properly as of yet, it only 259 // check. Because this behaviour is not specified properly as of yet, it only
259 // applies to a subset of spec-defined Well-Known Symbols. 260 // applies to a subset of spec-defined Well-Known Symbols.
260 #define WELL_KNOWN_SYMBOL_LIST(V) \ 261 #define WELL_KNOWN_SYMBOL_LIST(V) \
261 V(has_instance_symbol, Symbol.hasInstance) \ 262 V(has_instance_symbol, Symbol.hasInstance) \
262 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 263 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
263 V(to_string_tag_symbol, Symbol.toStringTag) 264 V(to_string_tag_symbol, Symbol.toStringTag)
264 265
265 #endif // V8_HEAP_SYMBOLS_H_ 266 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | test/mjsunit/harmony/symbol-async-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698