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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 V(promise_on_resolve_symbol) \ | 170 V(promise_on_resolve_symbol) \ |
171 V(promise_on_reject_symbol) \ | 171 V(promise_on_reject_symbol) \ |
172 V(promise_raw_symbol) \ | 172 V(promise_raw_symbol) \ |
173 V(promise_status_symbol) \ | 173 V(promise_status_symbol) \ |
174 V(promise_value_symbol) \ | 174 V(promise_value_symbol) \ |
175 V(sealed_symbol) \ | 175 V(sealed_symbol) \ |
176 V(stack_trace_symbol) \ | 176 V(stack_trace_symbol) \ |
177 V(strict_function_transition_symbol) \ | 177 V(strict_function_transition_symbol) \ |
178 V(string_iterator_iterated_string_symbol) \ | 178 V(string_iterator_iterated_string_symbol) \ |
179 V(string_iterator_next_index_symbol) \ | 179 V(string_iterator_next_index_symbol) \ |
180 V(strong_function_transition_symbol) \ | |
181 V(uninitialized_symbol) | 180 V(uninitialized_symbol) |
182 | 181 |
183 #define PUBLIC_SYMBOL_LIST(V) \ | 182 #define PUBLIC_SYMBOL_LIST(V) \ |
184 V(iterator_symbol, Symbol.iterator) \ | 183 V(iterator_symbol, Symbol.iterator) \ |
185 V(match_symbol, Symbol.match) \ | 184 V(match_symbol, Symbol.match) \ |
186 V(replace_symbol, Symbol.replace) \ | 185 V(replace_symbol, Symbol.replace) \ |
187 V(search_symbol, Symbol.search) \ | 186 V(search_symbol, Symbol.search) \ |
188 V(species_symbol, Symbol.species) \ | 187 V(species_symbol, Symbol.species) \ |
189 V(split_symbol, Symbol.split) \ | 188 V(split_symbol, Symbol.split) \ |
190 V(to_primitive_symbol, Symbol.toPrimitive) \ | 189 V(to_primitive_symbol, Symbol.toPrimitive) \ |
191 V(unscopables_symbol, Symbol.unscopables) | 190 V(unscopables_symbol, Symbol.unscopables) |
192 | 191 |
193 // 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 |
194 // 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 |
195 // 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 |
196 // applies to a subset of spec-defined Well-Known Symbols. | 195 // applies to a subset of spec-defined Well-Known Symbols. |
197 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 196 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
198 V(has_instance_symbol, Symbol.hasInstance) \ | 197 V(has_instance_symbol, Symbol.hasInstance) \ |
199 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 198 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
200 V(to_string_tag_symbol, Symbol.toStringTag) | 199 V(to_string_tag_symbol, Symbol.toStringTag) |
201 | 200 |
202 #endif // V8_HEAP_SYMBOLS_H_ | 201 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |