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_function_string, "(anonymous function)") \ | 9 V(anonymous_function_string, "(anonymous function)") \ |
10 V(anonymous_string, "anonymous") \ | 10 V(anonymous_string, "anonymous") \ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 V(error_script_symbol) \ | 206 V(error_script_symbol) \ |
207 V(error_start_pos_symbol) \ | 207 V(error_start_pos_symbol) \ |
208 V(frozen_symbol) \ | 208 V(frozen_symbol) \ |
209 V(hash_code_symbol) \ | 209 V(hash_code_symbol) \ |
210 V(home_object_symbol) \ | 210 V(home_object_symbol) \ |
211 V(intl_initialized_marker_symbol) \ | 211 V(intl_initialized_marker_symbol) \ |
212 V(intl_pattern_symbol) \ | 212 V(intl_pattern_symbol) \ |
213 V(intl_resolved_symbol) \ | 213 V(intl_resolved_symbol) \ |
214 V(megamorphic_symbol) \ | 214 V(megamorphic_symbol) \ |
215 V(native_context_index_symbol) \ | 215 V(native_context_index_symbol) \ |
216 V(nonexistent_symbol) \ | |
217 V(nonextensible_symbol) \ | 216 V(nonextensible_symbol) \ |
218 V(normal_ic_symbol) \ | |
219 V(not_mapped_symbol) \ | 217 V(not_mapped_symbol) \ |
220 V(premonomorphic_symbol) \ | 218 V(premonomorphic_symbol) \ |
221 V(promise_async_stack_id_symbol) \ | 219 V(promise_async_stack_id_symbol) \ |
222 V(promise_debug_marker_symbol) \ | 220 V(promise_debug_marker_symbol) \ |
223 V(promise_forwarding_handler_symbol) \ | 221 V(promise_forwarding_handler_symbol) \ |
224 V(promise_handled_by_symbol) \ | 222 V(promise_handled_by_symbol) \ |
225 V(promise_async_id_symbol) \ | 223 V(promise_async_id_symbol) \ |
226 V(promise_default_resolve_handler_symbol) \ | 224 V(promise_default_resolve_handler_symbol) \ |
227 V(promise_default_reject_handler_symbol) \ | 225 V(promise_default_reject_handler_symbol) \ |
228 V(sealed_symbol) \ | 226 V(sealed_symbol) \ |
(...skipping 16 matching lines...) Expand all Loading... |
245 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 243 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
246 // them to produce an undefined value when a load results in a failed access | 244 // them to produce an undefined value when a load results in a failed access |
247 // check. Because this behaviour is not specified properly as of yet, it only | 245 // check. Because this behaviour is not specified properly as of yet, it only |
248 // applies to a subset of spec-defined Well-Known Symbols. | 246 // applies to a subset of spec-defined Well-Known Symbols. |
249 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 247 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
250 V(has_instance_symbol, Symbol.hasInstance) \ | 248 V(has_instance_symbol, Symbol.hasInstance) \ |
251 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 249 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
252 V(to_string_tag_symbol, Symbol.toStringTag) | 250 V(to_string_tag_symbol, Symbol.toStringTag) |
253 | 251 |
254 #endif // V8_HEAP_SYMBOLS_H_ | 252 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |