| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 V(writable_string, "writable") | 132 V(writable_string, "writable") |
| 133 | 133 |
| 134 #define PRIVATE_SYMBOL_LIST(V) \ | 134 #define PRIVATE_SYMBOL_LIST(V) \ |
| 135 V(array_iteration_kind_symbol) \ | 135 V(array_iteration_kind_symbol) \ |
| 136 V(array_iterator_next_symbol) \ | 136 V(array_iterator_next_symbol) \ |
| 137 V(array_iterator_object_symbol) \ | 137 V(array_iterator_object_symbol) \ |
| 138 V(call_site_function_symbol) \ | 138 V(call_site_function_symbol) \ |
| 139 V(call_site_position_symbol) \ | 139 V(call_site_position_symbol) \ |
| 140 V(call_site_receiver_symbol) \ | 140 V(call_site_receiver_symbol) \ |
| 141 V(call_site_strict_symbol) \ | 141 V(call_site_strict_symbol) \ |
| 142 V(call_site_wasm_obj_symbol) \ |
| 143 V(call_site_wasm_func_index_symbol) \ |
| 142 V(class_end_position_symbol) \ | 144 V(class_end_position_symbol) \ |
| 143 V(class_start_position_symbol) \ | 145 V(class_start_position_symbol) \ |
| 144 V(detailed_stack_trace_symbol) \ | 146 V(detailed_stack_trace_symbol) \ |
| 145 V(elements_transition_symbol) \ | 147 V(elements_transition_symbol) \ |
| 146 V(error_end_pos_symbol) \ | 148 V(error_end_pos_symbol) \ |
| 147 V(error_script_symbol) \ | 149 V(error_script_symbol) \ |
| 148 V(error_start_pos_symbol) \ | 150 V(error_start_pos_symbol) \ |
| 149 V(formatted_stack_trace_symbol) \ | 151 V(formatted_stack_trace_symbol) \ |
| 150 V(frozen_symbol) \ | 152 V(frozen_symbol) \ |
| 151 V(hash_code_symbol) \ | 153 V(hash_code_symbol) \ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 192 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 191 // them to produce an undefined value when a load results in a failed access | 193 // them to produce an undefined value when a load results in a failed access |
| 192 // check. Because this behaviour is not specified properly as of yet, it only | 194 // check. Because this behaviour is not specified properly as of yet, it only |
| 193 // applies to a subset of spec-defined Well-Known Symbols. | 195 // applies to a subset of spec-defined Well-Known Symbols. |
| 194 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 196 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 195 V(has_instance_symbol, Symbol.hasInstance) \ | 197 V(has_instance_symbol, Symbol.hasInstance) \ |
| 196 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 198 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 197 V(to_string_tag_symbol, Symbol.toStringTag) | 199 V(to_string_tag_symbol, Symbol.toStringTag) |
| 198 | 200 |
| 199 #endif // V8_HEAP_SYMBOLS_H_ | 201 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |