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 24 matching lines...) Expand all Loading... |
35 V(bound__string, "bound ") \ | 35 V(bound__string, "bound ") \ |
36 V(buffer_string, "buffer") \ | 36 V(buffer_string, "buffer") \ |
37 V(byte_length_string, "byteLength") \ | 37 V(byte_length_string, "byteLength") \ |
38 V(byte_offset_string, "byteOffset") \ | 38 V(byte_offset_string, "byteOffset") \ |
39 V(call_string, "call") \ | 39 V(call_string, "call") \ |
40 V(callee_string, "callee") \ | 40 V(callee_string, "callee") \ |
41 V(caller_string, "caller") \ | 41 V(caller_string, "caller") \ |
42 V(cell_value_string, "%cell_value") \ | 42 V(cell_value_string, "%cell_value") \ |
43 V(char_at_string, "CharAt") \ | 43 V(char_at_string, "CharAt") \ |
44 V(closure_string, "(closure)") \ | 44 V(closure_string, "(closure)") \ |
| 45 V(collected_string, "collected") \ |
45 V(column_string, "column") \ | 46 V(column_string, "column") \ |
46 V(compare_ic_string, "==") \ | 47 V(compare_ic_string, "==") \ |
47 V(configurable_string, "configurable") \ | 48 V(configurable_string, "configurable") \ |
48 V(constructor_string, "constructor") \ | 49 V(constructor_string, "constructor") \ |
49 V(construct_string, "construct") \ | 50 V(construct_string, "construct") \ |
50 V(create_string, "create") \ | 51 V(create_string, "create") \ |
51 V(Date_string, "Date") \ | 52 V(Date_string, "Date") \ |
52 V(dayperiod_string, "dayperiod") \ | 53 V(dayperiod_string, "dayperiod") \ |
53 V(day_string, "day") \ | 54 V(day_string, "day") \ |
54 V(default_string, "default") \ | 55 V(default_string, "default") \ |
55 V(defineProperty_string, "defineProperty") \ | 56 V(defineProperty_string, "defineProperty") \ |
56 V(deleteProperty_string, "deleteProperty") \ | 57 V(deleteProperty_string, "deleteProperty") \ |
57 V(did_handle_string, "didHandle") \ | |
58 V(display_name_string, "displayName") \ | 58 V(display_name_string, "displayName") \ |
59 V(done_string, "done") \ | 59 V(done_string, "done") \ |
60 V(dot_result_string, ".result") \ | 60 V(dot_result_string, ".result") \ |
61 V(dot_string, ".") \ | 61 V(dot_string, ".") \ |
62 V(exec_string, "exec") \ | 62 V(exec_string, "exec") \ |
63 V(entries_string, "entries") \ | 63 V(entries_string, "entries") \ |
64 V(enqueue_string, "enqueue") \ | |
65 V(enumerable_string, "enumerable") \ | 64 V(enumerable_string, "enumerable") \ |
66 V(era_string, "era") \ | 65 V(era_string, "era") \ |
67 V(Error_string, "Error") \ | 66 V(Error_string, "Error") \ |
68 V(eval_string, "eval") \ | 67 V(eval_string, "eval") \ |
69 V(EvalError_string, "EvalError") \ | 68 V(EvalError_string, "EvalError") \ |
70 V(false_string, "false") \ | 69 V(false_string, "false") \ |
71 V(flags_string, "flags") \ | 70 V(flags_string, "flags") \ |
72 V(float32x4_string, "float32x4") \ | 71 V(float32x4_string, "float32x4") \ |
73 V(Float32x4_string, "Float32x4") \ | 72 V(Float32x4_string, "Float32x4") \ |
74 V(function_string, "function") \ | 73 V(function_string, "function") \ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 V(null_to_string, "[object Null]") \ | 116 V(null_to_string, "[object Null]") \ |
118 V(number_string, "number") \ | 117 V(number_string, "number") \ |
119 V(Number_string, "Number") \ | 118 V(Number_string, "Number") \ |
120 V(object_string, "object") \ | 119 V(object_string, "object") \ |
121 V(Object_string, "Object") \ | 120 V(Object_string, "Object") \ |
122 V(ok, "ok") \ | 121 V(ok, "ok") \ |
123 V(ownKeys_string, "ownKeys") \ | 122 V(ownKeys_string, "ownKeys") \ |
124 V(position_string, "position") \ | 123 V(position_string, "position") \ |
125 V(preventExtensions_string, "preventExtensions") \ | 124 V(preventExtensions_string, "preventExtensions") \ |
126 V(Promise_string, "Promise") \ | 125 V(Promise_string, "Promise") \ |
| 126 V(PromiseReject_string, "Promise.reject") \ |
| 127 V(PromiseResolve_string, "Promise.resolve") \ |
127 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ | 128 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ |
128 V(promise_string, "promise") \ | 129 V(promise_string, "promise") \ |
129 V(proto_string, "__proto__") \ | 130 V(proto_string, "__proto__") \ |
130 V(prototype_string, "prototype") \ | 131 V(prototype_string, "prototype") \ |
131 V(Proxy_string, "Proxy") \ | 132 V(Proxy_string, "Proxy") \ |
132 V(query_colon_string, "(?:)") \ | 133 V(query_colon_string, "(?:)") \ |
133 V(RangeError_string, "RangeError") \ | 134 V(RangeError_string, "RangeError") \ |
134 V(ReferenceError_string, "ReferenceError") \ | 135 V(ReferenceError_string, "ReferenceError") \ |
135 V(RegExp_string, "RegExp") \ | 136 V(RegExp_string, "RegExp") \ |
136 V(reject_string, "reject") \ | 137 V(reject_string, "reject") \ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 V(undefined_string, "undefined") \ | 175 V(undefined_string, "undefined") \ |
175 V(undefined_to_string, "[object Undefined]") \ | 176 V(undefined_to_string, "[object Undefined]") \ |
176 V(unicode_string, "unicode") \ | 177 V(unicode_string, "unicode") \ |
177 V(URIError_string, "URIError") \ | 178 V(URIError_string, "URIError") \ |
178 V(valueOf_string, "valueOf") \ | 179 V(valueOf_string, "valueOf") \ |
179 V(values_string, "values") \ | 180 V(values_string, "values") \ |
180 V(value_string, "value") \ | 181 V(value_string, "value") \ |
181 V(WeakMap_string, "WeakMap") \ | 182 V(WeakMap_string, "WeakMap") \ |
182 V(WeakSet_string, "WeakSet") \ | 183 V(WeakSet_string, "WeakSet") \ |
183 V(weekday_string, "weekday") \ | 184 V(weekday_string, "weekday") \ |
184 V(will_handle_string, "willHandle") \ | |
185 V(writable_string, "writable") \ | 185 V(writable_string, "writable") \ |
186 V(year_string, "year") | 186 V(year_string, "year") |
187 | 187 |
188 #define PRIVATE_SYMBOL_LIST(V) \ | 188 #define PRIVATE_SYMBOL_LIST(V) \ |
189 V(array_iteration_kind_symbol) \ | 189 V(array_iteration_kind_symbol) \ |
190 V(array_iterator_next_symbol) \ | 190 V(array_iterator_next_symbol) \ |
191 V(array_iterator_object_symbol) \ | 191 V(array_iterator_object_symbol) \ |
192 V(call_site_frame_array_symbol) \ | 192 V(call_site_frame_array_symbol) \ |
193 V(call_site_frame_index_symbol) \ | 193 V(call_site_frame_index_symbol) \ |
194 V(class_end_position_symbol) \ | 194 V(class_end_position_symbol) \ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 235 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
236 // them to produce an undefined value when a load results in a failed access | 236 // them to produce an undefined value when a load results in a failed access |
237 // check. Because this behaviour is not specified properly as of yet, it only | 237 // check. Because this behaviour is not specified properly as of yet, it only |
238 // applies to a subset of spec-defined Well-Known Symbols. | 238 // applies to a subset of spec-defined Well-Known Symbols. |
239 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 239 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
240 V(has_instance_symbol, Symbol.hasInstance) \ | 240 V(has_instance_symbol, Symbol.hasInstance) \ |
241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
242 V(to_string_tag_symbol, Symbol.toStringTag) | 242 V(to_string_tag_symbol, Symbol.toStringTag) |
243 | 243 |
244 #endif // V8_HEAP_SYMBOLS_H_ | 244 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |