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(intl_resolved_symbol) \ | 168 V(intl_resolved_symbol) \ |
169 V(megamorphic_symbol) \ | 169 V(megamorphic_symbol) \ |
170 V(native_context_index_symbol) \ | 170 V(native_context_index_symbol) \ |
171 V(nonexistent_symbol) \ | 171 V(nonexistent_symbol) \ |
172 V(nonextensible_symbol) \ | 172 V(nonextensible_symbol) \ |
173 V(normal_ic_symbol) \ | 173 V(normal_ic_symbol) \ |
174 V(not_mapped_symbol) \ | 174 V(not_mapped_symbol) \ |
175 V(premonomorphic_symbol) \ | 175 V(premonomorphic_symbol) \ |
176 V(promise_combined_deferred_symbol) \ | 176 V(promise_combined_deferred_symbol) \ |
177 V(promise_debug_marker_symbol) \ | 177 V(promise_debug_marker_symbol) \ |
178 V(promise_has_handler_symbol) \ | |
179 V(promise_deferred_reactions_symbol) \ | 178 V(promise_deferred_reactions_symbol) \ |
180 V(promise_fulfill_reactions_symbol) \ | 179 V(promise_fulfill_reactions_symbol) \ |
| 180 V(promise_has_handler_symbol) \ |
| 181 V(promise_raw_symbol) \ |
181 V(promise_reject_reactions_symbol) \ | 182 V(promise_reject_reactions_symbol) \ |
182 V(promise_raw_symbol) \ | 183 V(promise_result_symbol) \ |
183 V(promise_state_symbol) \ | 184 V(promise_state_symbol) \ |
184 V(promise_result_symbol) \ | |
185 V(sealed_symbol) \ | 185 V(sealed_symbol) \ |
186 V(stack_trace_symbol) \ | 186 V(stack_trace_symbol) \ |
187 V(strict_function_transition_symbol) \ | 187 V(strict_function_transition_symbol) \ |
188 V(string_iterator_iterated_string_symbol) \ | 188 V(string_iterator_iterated_string_symbol) \ |
189 V(string_iterator_next_index_symbol) \ | 189 V(string_iterator_next_index_symbol) \ |
190 V(uninitialized_symbol) | 190 V(uninitialized_symbol) |
191 | 191 |
192 #define PUBLIC_SYMBOL_LIST(V) \ | 192 #define PUBLIC_SYMBOL_LIST(V) \ |
193 V(iterator_symbol, Symbol.iterator) \ | 193 V(iterator_symbol, Symbol.iterator) \ |
194 V(match_symbol, Symbol.match) \ | 194 V(match_symbol, Symbol.match) \ |
195 V(replace_symbol, Symbol.replace) \ | 195 V(replace_symbol, Symbol.replace) \ |
196 V(search_symbol, Symbol.search) \ | 196 V(search_symbol, Symbol.search) \ |
197 V(species_symbol, Symbol.species) \ | 197 V(species_symbol, Symbol.species) \ |
198 V(split_symbol, Symbol.split) \ | 198 V(split_symbol, Symbol.split) \ |
199 V(to_primitive_symbol, Symbol.toPrimitive) \ | 199 V(to_primitive_symbol, Symbol.toPrimitive) \ |
200 V(unscopables_symbol, Symbol.unscopables) | 200 V(unscopables_symbol, Symbol.unscopables) |
201 | 201 |
202 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 202 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
203 // them to produce an undefined value when a load results in a failed access | 203 // them to produce an undefined value when a load results in a failed access |
204 // check. Because this behaviour is not specified properly as of yet, it only | 204 // check. Because this behaviour is not specified properly as of yet, it only |
205 // applies to a subset of spec-defined Well-Known Symbols. | 205 // applies to a subset of spec-defined Well-Known Symbols. |
206 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 206 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
207 V(has_instance_symbol, Symbol.hasInstance) \ | 207 V(has_instance_symbol, Symbol.hasInstance) \ |
208 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 208 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
209 V(to_string_tag_symbol, Symbol.toStringTag) | 209 V(to_string_tag_symbol, Symbol.toStringTag) |
210 | 210 |
211 #endif // V8_HEAP_SYMBOLS_H_ | 211 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |