| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 V(valueOf_string, "valueOf") \ | 200 V(valueOf_string, "valueOf") \ |
| 201 V(values_string, "values") \ | 201 V(values_string, "values") \ |
| 202 V(value_string, "value") \ | 202 V(value_string, "value") \ |
| 203 V(WeakMap_string, "WeakMap") \ | 203 V(WeakMap_string, "WeakMap") \ |
| 204 V(WeakSet_string, "WeakSet") \ | 204 V(WeakSet_string, "WeakSet") \ |
| 205 V(weekday_string, "weekday") \ | 205 V(weekday_string, "weekday") \ |
| 206 V(will_handle_string, "willHandle") \ | 206 V(will_handle_string, "willHandle") \ |
| 207 V(writable_string, "writable") \ | 207 V(writable_string, "writable") \ |
| 208 V(year_string, "year") | 208 V(year_string, "year") |
| 209 | 209 |
| 210 #define PRIVATE_SYMBOL_LIST(V) \ | 210 #define PRIVATE_SYMBOL_LIST(V) \ |
| 211 V(array_iteration_kind_symbol) \ | 211 V(array_iteration_kind_symbol) \ |
| 212 V(array_iterator_next_symbol) \ | 212 V(array_iterator_next_symbol) \ |
| 213 V(array_iterator_object_symbol) \ | 213 V(array_iterator_object_symbol) \ |
| 214 V(call_site_frame_array_symbol) \ | 214 V(call_site_frame_array_symbol) \ |
| 215 V(call_site_frame_index_symbol) \ | 215 V(call_site_frame_index_symbol) \ |
| 216 V(class_end_position_symbol) \ | 216 V(class_end_position_symbol) \ |
| 217 V(class_start_position_symbol) \ | 217 V(class_start_position_symbol) \ |
| 218 V(detailed_stack_trace_symbol) \ | 218 V(detailed_stack_trace_symbol) \ |
| 219 V(elements_transition_symbol) \ | 219 V(elements_transition_symbol) \ |
| 220 V(error_end_pos_symbol) \ | 220 V(error_end_pos_symbol) \ |
| 221 V(error_script_symbol) \ | 221 V(error_script_symbol) \ |
| 222 V(error_start_pos_symbol) \ | 222 V(error_start_pos_symbol) \ |
| 223 V(frozen_symbol) \ | 223 V(frozen_symbol) \ |
| 224 V(hash_code_symbol) \ | 224 V(hash_code_symbol) \ |
| 225 V(home_object_symbol) \ | 225 V(home_object_symbol) \ |
| 226 V(intl_initialized_marker_symbol) \ | 226 V(intl_initialized_marker_symbol) \ |
| 227 V(intl_pattern_symbol) \ | 227 V(intl_pattern_symbol) \ |
| 228 V(intl_resolved_symbol) \ | 228 V(intl_resolved_symbol) \ |
| 229 V(megamorphic_symbol) \ | 229 V(megamorphic_symbol) \ |
| 230 V(native_context_index_symbol) \ | 230 V(native_context_index_symbol) \ |
| 231 V(nonexistent_symbol) \ | 231 V(nonexistent_symbol) \ |
| 232 V(nonextensible_symbol) \ | 232 V(nonextensible_symbol) \ |
| 233 V(normal_ic_symbol) \ | 233 V(normal_ic_symbol) \ |
| 234 V(not_mapped_symbol) \ | 234 V(not_mapped_symbol) \ |
| 235 V(premonomorphic_symbol) \ | 235 V(premonomorphic_symbol) \ |
| 236 V(promise_async_stack_id_symbol) \ | 236 V(promise_async_stack_id_symbol) \ |
| 237 V(promise_debug_marker_symbol) \ | 237 V(promise_debug_marker_symbol) \ |
| 238 V(promise_forwarding_handler_symbol) \ | 238 V(promise_forwarding_handler_symbol) \ |
| 239 V(promise_handled_by_symbol) \ | 239 V(promise_handled_by_symbol) \ |
| 240 V(promise_async_id_symbol) \ | 240 V(promise_async_id_symbol) \ |
| 241 V(sealed_symbol) \ | 241 V(promise_default_resolve_handler_symbol) \ |
| 242 V(stack_trace_symbol) \ | 242 V(promise_default_reject_handler_symbol) \ |
| 243 V(strict_function_transition_symbol) \ | 243 V(sealed_symbol) \ |
| 244 V(stack_trace_symbol) \ |
| 245 V(strict_function_transition_symbol) \ |
| 244 V(uninitialized_symbol) | 246 V(uninitialized_symbol) |
| 245 | 247 |
| 246 #define PUBLIC_SYMBOL_LIST(V) \ | 248 #define PUBLIC_SYMBOL_LIST(V) \ |
| 247 V(async_iterator_symbol, Symbol.asyncIterator) \ | 249 V(async_iterator_symbol, Symbol.asyncIterator) \ |
| 248 V(iterator_symbol, Symbol.iterator) \ | 250 V(iterator_symbol, Symbol.iterator) \ |
| 249 V(intl_fallback_symbol, IntlFallback) \ | 251 V(intl_fallback_symbol, IntlFallback) \ |
| 250 V(match_symbol, Symbol.match) \ | 252 V(match_symbol, Symbol.match) \ |
| 251 V(replace_symbol, Symbol.replace) \ | 253 V(replace_symbol, Symbol.replace) \ |
| 252 V(search_symbol, Symbol.search) \ | 254 V(search_symbol, Symbol.search) \ |
| 253 V(species_symbol, Symbol.species) \ | 255 V(species_symbol, Symbol.species) \ |
| 254 V(split_symbol, Symbol.split) \ | 256 V(split_symbol, Symbol.split) \ |
| 255 V(to_primitive_symbol, Symbol.toPrimitive) \ | 257 V(to_primitive_symbol, Symbol.toPrimitive) \ |
| 256 V(unscopables_symbol, Symbol.unscopables) | 258 V(unscopables_symbol, Symbol.unscopables) |
| 257 | 259 |
| 258 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 260 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 259 // them to produce an undefined value when a load results in a failed access | 261 // them to produce an undefined value when a load results in a failed access |
| 260 // check. Because this behaviour is not specified properly as of yet, it only | 262 // check. Because this behaviour is not specified properly as of yet, it only |
| 261 // applies to a subset of spec-defined Well-Known Symbols. | 263 // applies to a subset of spec-defined Well-Known Symbols. |
| 262 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 264 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 263 V(has_instance_symbol, Symbol.hasInstance) \ | 265 V(has_instance_symbol, Symbol.hasInstance) \ |
| 264 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 266 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 265 V(to_string_tag_symbol, Symbol.toStringTag) | 267 V(to_string_tag_symbol, Symbol.toStringTag) |
| 266 | 268 |
| 267 #endif // V8_HEAP_SYMBOLS_H_ | 269 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |