OLD | NEW |
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_string, "anonymous") \ | 9 V(anonymous_string, "anonymous") \ |
10 V(apply_string, "apply") \ | 10 V(apply_string, "apply") \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 V(native_context_index_symbol) \ | 211 V(native_context_index_symbol) \ |
212 V(nonexistent_symbol) \ | 212 V(nonexistent_symbol) \ |
213 V(nonextensible_symbol) \ | 213 V(nonextensible_symbol) \ |
214 V(normal_ic_symbol) \ | 214 V(normal_ic_symbol) \ |
215 V(not_mapped_symbol) \ | 215 V(not_mapped_symbol) \ |
216 V(premonomorphic_symbol) \ | 216 V(premonomorphic_symbol) \ |
217 V(promise_async_stack_id_symbol) \ | 217 V(promise_async_stack_id_symbol) \ |
218 V(promise_debug_marker_symbol) \ | 218 V(promise_debug_marker_symbol) \ |
219 V(promise_forwarding_handler_symbol) \ | 219 V(promise_forwarding_handler_symbol) \ |
220 V(promise_handled_by_symbol) \ | 220 V(promise_handled_by_symbol) \ |
| 221 V(promise_async_id_symbol) \ |
221 V(sealed_symbol) \ | 222 V(sealed_symbol) \ |
222 V(stack_trace_symbol) \ | 223 V(stack_trace_symbol) \ |
223 V(strict_function_transition_symbol) \ | 224 V(strict_function_transition_symbol) \ |
224 V(uninitialized_symbol) | 225 V(uninitialized_symbol) |
225 | 226 |
226 #define PUBLIC_SYMBOL_LIST(V) \ | 227 #define PUBLIC_SYMBOL_LIST(V) \ |
227 V(iterator_symbol, Symbol.iterator) \ | 228 V(iterator_symbol, Symbol.iterator) \ |
228 V(intl_fallback_symbol, IntlFallback) \ | 229 V(intl_fallback_symbol, IntlFallback) \ |
229 V(match_symbol, Symbol.match) \ | 230 V(match_symbol, Symbol.match) \ |
230 V(replace_symbol, Symbol.replace) \ | 231 V(replace_symbol, Symbol.replace) \ |
231 V(search_symbol, Symbol.search) \ | 232 V(search_symbol, Symbol.search) \ |
232 V(species_symbol, Symbol.species) \ | 233 V(species_symbol, Symbol.species) \ |
233 V(split_symbol, Symbol.split) \ | 234 V(split_symbol, Symbol.split) \ |
234 V(to_primitive_symbol, Symbol.toPrimitive) \ | 235 V(to_primitive_symbol, Symbol.toPrimitive) \ |
235 V(unscopables_symbol, Symbol.unscopables) | 236 V(unscopables_symbol, Symbol.unscopables) |
236 | 237 |
237 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 238 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
238 // them to produce an undefined value when a load results in a failed access | 239 // them to produce an undefined value when a load results in a failed access |
239 // check. Because this behaviour is not specified properly as of yet, it only | 240 // check. Because this behaviour is not specified properly as of yet, it only |
240 // applies to a subset of spec-defined Well-Known Symbols. | 241 // applies to a subset of spec-defined Well-Known Symbols. |
241 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 242 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
242 V(has_instance_symbol, Symbol.hasInstance) \ | 243 V(has_instance_symbol, Symbol.hasInstance) \ |
243 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 244 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
244 V(to_string_tag_symbol, Symbol.toStringTag) | 245 V(to_string_tag_symbol, Symbol.toStringTag) |
245 | 246 |
246 #endif // V8_HEAP_SYMBOLS_H_ | 247 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |