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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
164 V(Uint8x16_string, "Uint8x16") \ | 165 V(Uint8x16_string, "Uint8x16") \ |
165 V(undefined_string, "undefined") \ | 166 V(undefined_string, "undefined") \ |
166 V(undefined_to_string, "[object Undefined]") \ | 167 V(undefined_to_string, "[object Undefined]") \ |
167 V(unicode_string, "unicode") \ | 168 V(unicode_string, "unicode") \ |
168 V(URIError_string, "URIError") \ | 169 V(URIError_string, "URIError") \ |
169 V(valueOf_string, "valueOf") \ | 170 V(valueOf_string, "valueOf") \ |
170 V(values_string, "values") \ | 171 V(values_string, "values") \ |
171 V(value_string, "value") \ | 172 V(value_string, "value") \ |
172 V(WeakMap_string, "WeakMap") \ | 173 V(WeakMap_string, "WeakMap") \ |
173 V(WeakSet_string, "WeakSet") \ | 174 V(WeakSet_string, "WeakSet") \ |
175 V(will_handle_string, "willHandle") \ | |
adamk
2016/10/14 20:34:51
Nit: "i" goes after "e" :)
gsathya
2016/10/14 22:21:27
Done.
| |
174 V(weekday_string, "weekday") \ | 176 V(weekday_string, "weekday") \ |
175 V(writable_string, "writable") \ | 177 V(writable_string, "writable") \ |
176 V(year_string, "year") | 178 V(year_string, "year") |
177 | 179 |
178 #define PRIVATE_SYMBOL_LIST(V) \ | 180 #define PRIVATE_SYMBOL_LIST(V) \ |
179 V(array_iteration_kind_symbol) \ | 181 V(array_iteration_kind_symbol) \ |
180 V(array_iterator_next_symbol) \ | 182 V(array_iterator_next_symbol) \ |
181 V(array_iterator_object_symbol) \ | 183 V(array_iterator_object_symbol) \ |
182 V(call_site_frame_array_symbol) \ | 184 V(call_site_frame_array_symbol) \ |
183 V(call_site_frame_index_symbol) \ | 185 V(call_site_frame_index_symbol) \ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
232 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 234 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
233 // them to produce an undefined value when a load results in a failed access | 235 // them to produce an undefined value when a load results in a failed access |
234 // check. Because this behaviour is not specified properly as of yet, it only | 236 // check. Because this behaviour is not specified properly as of yet, it only |
235 // applies to a subset of spec-defined Well-Known Symbols. | 237 // applies to a subset of spec-defined Well-Known Symbols. |
236 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 238 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
237 V(has_instance_symbol, Symbol.hasInstance) \ | 239 V(has_instance_symbol, Symbol.hasInstance) \ |
238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 240 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
239 V(to_string_tag_symbol, Symbol.toStringTag) | 241 V(to_string_tag_symbol, Symbol.toStringTag) |
240 | 242 |
241 #endif // V8_HEAP_SYMBOLS_H_ | 243 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |