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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 V(values_string, "values") \ | 154 V(values_string, "values") \ |
155 V(value_string, "value") \ | 155 V(value_string, "value") \ |
156 V(WeakMap_string, "WeakMap") \ | 156 V(WeakMap_string, "WeakMap") \ |
157 V(WeakSet_string, "WeakSet") \ | 157 V(WeakSet_string, "WeakSet") \ |
158 V(writable_string, "writable") | 158 V(writable_string, "writable") |
159 | 159 |
160 #define PRIVATE_SYMBOL_LIST(V) \ | 160 #define PRIVATE_SYMBOL_LIST(V) \ |
161 V(array_iteration_kind_symbol) \ | 161 V(array_iteration_kind_symbol) \ |
162 V(array_iterator_next_symbol) \ | 162 V(array_iterator_next_symbol) \ |
163 V(array_iterator_object_symbol) \ | 163 V(array_iterator_object_symbol) \ |
164 V(call_site_constructor_symbol) \ | 164 V(call_site_frame_symbol) \ |
165 V(call_site_function_symbol) \ | |
166 V(call_site_position_symbol) \ | |
167 V(call_site_receiver_symbol) \ | |
168 V(call_site_strict_symbol) \ | |
169 V(call_site_wasm_obj_symbol) \ | |
170 V(call_site_wasm_func_index_symbol) \ | |
171 V(class_end_position_symbol) \ | 165 V(class_end_position_symbol) \ |
172 V(class_start_position_symbol) \ | 166 V(class_start_position_symbol) \ |
173 V(detailed_stack_trace_symbol) \ | 167 V(detailed_stack_trace_symbol) \ |
174 V(elements_transition_symbol) \ | 168 V(elements_transition_symbol) \ |
175 V(error_end_pos_symbol) \ | 169 V(error_end_pos_symbol) \ |
176 V(error_script_symbol) \ | 170 V(error_script_symbol) \ |
177 V(error_start_pos_symbol) \ | 171 V(error_start_pos_symbol) \ |
178 V(frozen_symbol) \ | 172 V(frozen_symbol) \ |
179 V(hash_code_symbol) \ | 173 V(hash_code_symbol) \ |
180 V(home_object_symbol) \ | 174 V(home_object_symbol) \ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 212 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
219 // them to produce an undefined value when a load results in a failed access | 213 // them to produce an undefined value when a load results in a failed access |
220 // check. Because this behaviour is not specified properly as of yet, it only | 214 // check. Because this behaviour is not specified properly as of yet, it only |
221 // applies to a subset of spec-defined Well-Known Symbols. | 215 // applies to a subset of spec-defined Well-Known Symbols. |
222 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 216 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
223 V(has_instance_symbol, Symbol.hasInstance) \ | 217 V(has_instance_symbol, Symbol.hasInstance) \ |
224 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 218 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
225 V(to_string_tag_symbol, Symbol.toStringTag) | 219 V(to_string_tag_symbol, Symbol.toStringTag) |
226 | 220 |
227 #endif // V8_HEAP_SYMBOLS_H_ | 221 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |