| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 V(URIError_string, "URIError") \ | 168 V(URIError_string, "URIError") \ |
| 169 V(valueOf_string, "valueOf") \ | 169 V(valueOf_string, "valueOf") \ |
| 170 V(values_string, "values") \ | 170 V(values_string, "values") \ |
| 171 V(value_string, "value") \ | 171 V(value_string, "value") \ |
| 172 V(WeakMap_string, "WeakMap") \ | 172 V(WeakMap_string, "WeakMap") \ |
| 173 V(WeakSet_string, "WeakSet") \ | 173 V(WeakSet_string, "WeakSet") \ |
| 174 V(weekday_string, "weekday") \ | 174 V(weekday_string, "weekday") \ |
| 175 V(writable_string, "writable") \ | 175 V(writable_string, "writable") \ |
| 176 V(year_string, "year") | 176 V(year_string, "year") |
| 177 | 177 |
| 178 #define PRIVATE_SYMBOL_LIST(V) \ | 178 #define PRIVATE_SYMBOL_LIST(V) \ |
| 179 V(array_iteration_kind_symbol) \ | 179 V(array_iteration_kind_symbol) \ |
| 180 V(array_iterator_next_symbol) \ | 180 V(array_iterator_next_symbol) \ |
| 181 V(array_iterator_object_symbol) \ | 181 V(array_iterator_object_symbol) \ |
| 182 V(call_site_frame_array_symbol) \ | 182 V(call_site_frame_array_symbol) \ |
| 183 V(call_site_frame_index_symbol) \ | 183 V(call_site_frame_index_symbol) \ |
| 184 V(class_end_position_symbol) \ | 184 V(class_end_position_symbol) \ |
| 185 V(class_start_position_symbol) \ | 185 V(class_start_position_symbol) \ |
| 186 V(detailed_stack_trace_symbol) \ | 186 V(detailed_stack_trace_symbol) \ |
| 187 V(elements_transition_symbol) \ | 187 V(elements_transition_symbol) \ |
| 188 V(error_end_pos_symbol) \ | 188 V(error_end_pos_symbol) \ |
| 189 V(error_script_symbol) \ | 189 V(error_script_symbol) \ |
| 190 V(error_start_pos_symbol) \ | 190 V(error_start_pos_symbol) \ |
| 191 V(frozen_symbol) \ | 191 V(frozen_symbol) \ |
| 192 V(hash_code_symbol) \ | 192 V(hash_code_symbol) \ |
| 193 V(home_object_symbol) \ | 193 V(home_object_symbol) \ |
| 194 V(intl_impl_object_symbol) \ | 194 V(intl_impl_object_symbol) \ |
| 195 V(intl_initialized_marker_symbol) \ | 195 V(intl_initialized_marker_symbol) \ |
| 196 V(intl_pattern_symbol) \ | 196 V(intl_pattern_symbol) \ |
| 197 V(intl_resolved_symbol) \ | 197 V(intl_resolved_symbol) \ |
| 198 V(megamorphic_symbol) \ | 198 V(megamorphic_symbol) \ |
| 199 V(native_context_index_symbol) \ | 199 V(native_context_index_symbol) \ |
| 200 V(nonexistent_symbol) \ | 200 V(nonexistent_symbol) \ |
| 201 V(nonextensible_symbol) \ | 201 V(nonextensible_symbol) \ |
| 202 V(normal_ic_symbol) \ | 202 V(normal_ic_symbol) \ |
| 203 V(not_mapped_symbol) \ | 203 V(not_mapped_symbol) \ |
| 204 V(premonomorphic_symbol) \ | 204 V(premonomorphic_symbol) \ |
| 205 V(promise_async_stack_id_symbol) \ | 205 V(promise_async_stack_id_symbol) \ |
| 206 V(promise_debug_marker_symbol) \ | 206 V(promise_debug_marker_symbol) \ |
| 207 V(promise_deferred_reactions_symbol) \ | 207 V(promise_deferred_reaction_symbol) \ |
| 208 V(promise_forwarding_handler_symbol) \ | 208 V(promise_forwarding_handler_symbol) \ |
| 209 V(promise_fulfill_reactions_symbol) \ | 209 V(promise_fulfill_reactions_symbol) \ |
| 210 V(promise_handled_by_symbol) \ | 210 V(promise_handled_by_symbol) \ |
| 211 V(promise_handled_hint_symbol) \ | 211 V(promise_handled_hint_symbol) \ |
| 212 V(promise_has_handler_symbol) \ | 212 V(promise_has_handler_symbol) \ |
| 213 V(promise_raw_symbol) \ | 213 V(promise_raw_symbol) \ |
| 214 V(promise_reject_reactions_symbol) \ | 214 V(promise_reject_reactions_symbol) \ |
| 215 V(promise_result_symbol) \ | 215 V(promise_result_symbol) \ |
| 216 V(promise_state_symbol) \ | 216 V(promise_state_symbol) \ |
| 217 V(sealed_symbol) \ | 217 V(sealed_symbol) \ |
| 218 V(stack_trace_symbol) \ | 218 V(stack_trace_symbol) \ |
| 219 V(strict_function_transition_symbol) \ | 219 V(strict_function_transition_symbol) \ |
| 220 V(uninitialized_symbol) | 220 V(uninitialized_symbol) |
| 221 | 221 |
| 222 #define PUBLIC_SYMBOL_LIST(V) \ | 222 #define PUBLIC_SYMBOL_LIST(V) \ |
| 223 V(iterator_symbol, Symbol.iterator) \ | 223 V(iterator_symbol, Symbol.iterator) \ |
| 224 V(match_symbol, Symbol.match) \ | 224 V(match_symbol, Symbol.match) \ |
| 225 V(replace_symbol, Symbol.replace) \ | 225 V(replace_symbol, Symbol.replace) \ |
| 226 V(search_symbol, Symbol.search) \ | 226 V(search_symbol, Symbol.search) \ |
| 227 V(species_symbol, Symbol.species) \ | 227 V(species_symbol, Symbol.species) \ |
| 228 V(split_symbol, Symbol.split) \ | 228 V(split_symbol, Symbol.split) \ |
| 229 V(to_primitive_symbol, Symbol.toPrimitive) \ | 229 V(to_primitive_symbol, Symbol.toPrimitive) \ |
| 230 V(unscopables_symbol, Symbol.unscopables) | 230 V(unscopables_symbol, Symbol.unscopables) |
| 231 | 231 |
| 232 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 232 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 233 // them to produce an undefined value when a load results in a failed access | 233 // them to produce an undefined value when a load results in a failed access |
| 234 // check. Because this behaviour is not specified properly as of yet, it only | 234 // check. Because this behaviour is not specified properly as of yet, it only |
| 235 // applies to a subset of spec-defined Well-Known Symbols. | 235 // applies to a subset of spec-defined Well-Known Symbols. |
| 236 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 236 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 237 V(has_instance_symbol, Symbol.hasInstance) \ | 237 V(has_instance_symbol, Symbol.hasInstance) \ |
| 238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 239 V(to_string_tag_symbol, Symbol.toStringTag) | 239 V(to_string_tag_symbol, Symbol.toStringTag) |
| 240 | 240 |
| 241 #endif // V8_HEAP_SYMBOLS_H_ | 241 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |