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