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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 V(configurable_string, "configurable") \ | 46 V(configurable_string, "configurable") \ |
47 V(constructor_string, "constructor") \ | 47 V(constructor_string, "constructor") \ |
48 V(construct_string, "construct") \ | 48 V(construct_string, "construct") \ |
49 V(create_string, "create") \ | 49 V(create_string, "create") \ |
50 V(Date_string, "Date") \ | 50 V(Date_string, "Date") \ |
51 V(dayperiod_string, "dayperiod") \ | 51 V(dayperiod_string, "dayperiod") \ |
52 V(day_string, "day") \ | 52 V(day_string, "day") \ |
53 V(default_string, "default") \ | 53 V(default_string, "default") \ |
54 V(defineProperty_string, "defineProperty") \ | 54 V(defineProperty_string, "defineProperty") \ |
55 V(deleteProperty_string, "deleteProperty") \ | 55 V(deleteProperty_string, "deleteProperty") \ |
| 56 V(did_handle_string, "didHandle") \ |
56 V(display_name_string, "displayName") \ | 57 V(display_name_string, "displayName") \ |
57 V(done_string, "done") \ | 58 V(done_string, "done") \ |
58 V(dot_result_string, ".result") \ | 59 V(dot_result_string, ".result") \ |
59 V(dot_string, ".") \ | 60 V(dot_string, ".") \ |
60 V(entries_string, "entries") \ | 61 V(entries_string, "entries") \ |
61 V(enumerable_string, "enumerable") \ | 62 V(enumerable_string, "enumerable") \ |
62 V(era_string, "era") \ | 63 V(era_string, "era") \ |
63 V(Error_string, "Error") \ | 64 V(Error_string, "Error") \ |
64 V(eval_string, "eval") \ | 65 V(eval_string, "eval") \ |
65 V(EvalError_string, "EvalError") \ | 66 V(EvalError_string, "EvalError") \ |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 V(undefined_string, "undefined") \ | 168 V(undefined_string, "undefined") \ |
168 V(undefined_to_string, "[object Undefined]") \ | 169 V(undefined_to_string, "[object Undefined]") \ |
169 V(unicode_string, "unicode") \ | 170 V(unicode_string, "unicode") \ |
170 V(URIError_string, "URIError") \ | 171 V(URIError_string, "URIError") \ |
171 V(valueOf_string, "valueOf") \ | 172 V(valueOf_string, "valueOf") \ |
172 V(values_string, "values") \ | 173 V(values_string, "values") \ |
173 V(value_string, "value") \ | 174 V(value_string, "value") \ |
174 V(WeakMap_string, "WeakMap") \ | 175 V(WeakMap_string, "WeakMap") \ |
175 V(WeakSet_string, "WeakSet") \ | 176 V(WeakSet_string, "WeakSet") \ |
176 V(weekday_string, "weekday") \ | 177 V(weekday_string, "weekday") \ |
| 178 V(will_handle_string, "willHandle") \ |
177 V(writable_string, "writable") \ | 179 V(writable_string, "writable") \ |
178 V(year_string, "year") | 180 V(year_string, "year") |
179 | 181 |
180 #define PRIVATE_SYMBOL_LIST(V) \ | 182 #define PRIVATE_SYMBOL_LIST(V) \ |
181 V(array_iteration_kind_symbol) \ | 183 V(array_iteration_kind_symbol) \ |
182 V(array_iterator_next_symbol) \ | 184 V(array_iterator_next_symbol) \ |
183 V(array_iterator_object_symbol) \ | 185 V(array_iterator_object_symbol) \ |
184 V(call_site_frame_array_symbol) \ | 186 V(call_site_frame_array_symbol) \ |
185 V(call_site_frame_index_symbol) \ | 187 V(call_site_frame_index_symbol) \ |
186 V(class_end_position_symbol) \ | 188 V(class_end_position_symbol) \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 236 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
235 // them to produce an undefined value when a load results in a failed access | 237 // them to produce an undefined value when a load results in a failed access |
236 // check. Because this behaviour is not specified properly as of yet, it only | 238 // check. Because this behaviour is not specified properly as of yet, it only |
237 // applies to a subset of spec-defined Well-Known Symbols. | 239 // applies to a subset of spec-defined Well-Known Symbols. |
238 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 240 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
239 V(has_instance_symbol, Symbol.hasInstance) \ | 241 V(has_instance_symbol, Symbol.hasInstance) \ |
240 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 242 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
241 V(to_string_tag_symbol, Symbol.toStringTag) | 243 V(to_string_tag_symbol, Symbol.toStringTag) |
242 | 244 |
243 #endif // V8_HEAP_SYMBOLS_H_ | 245 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |