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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 V(day_string, "day") \ | 53 V(day_string, "day") \ |
54 V(default_string, "default") \ | 54 V(default_string, "default") \ |
55 V(defineProperty_string, "defineProperty") \ | 55 V(defineProperty_string, "defineProperty") \ |
56 V(deleteProperty_string, "deleteProperty") \ | 56 V(deleteProperty_string, "deleteProperty") \ |
57 V(did_handle_string, "didHandle") \ | 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(entries_string, "entries") \ | 62 V(entries_string, "entries") \ |
| 63 V(enqueue_string, "enqueue") \ |
63 V(enumerable_string, "enumerable") \ | 64 V(enumerable_string, "enumerable") \ |
64 V(era_string, "era") \ | 65 V(era_string, "era") \ |
65 V(Error_string, "Error") \ | 66 V(Error_string, "Error") \ |
66 V(eval_string, "eval") \ | 67 V(eval_string, "eval") \ |
67 V(EvalError_string, "EvalError") \ | 68 V(EvalError_string, "EvalError") \ |
68 V(false_string, "false") \ | 69 V(false_string, "false") \ |
69 V(flags_string, "flags") \ | 70 V(flags_string, "flags") \ |
70 V(float32x4_string, "float32x4") \ | 71 V(float32x4_string, "float32x4") \ |
71 V(Float32x4_string, "Float32x4") \ | 72 V(Float32x4_string, "Float32x4") \ |
72 V(for_api_string, "for_api") \ | 73 V(for_api_string, "for_api") \ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 V(number_string, "number") \ | 119 V(number_string, "number") \ |
119 V(Number_string, "Number") \ | 120 V(Number_string, "Number") \ |
120 V(object_string, "object") \ | 121 V(object_string, "object") \ |
121 V(Object_string, "Object") \ | 122 V(Object_string, "Object") \ |
122 V(ok, "ok") \ | 123 V(ok, "ok") \ |
123 V(ownKeys_string, "ownKeys") \ | 124 V(ownKeys_string, "ownKeys") \ |
124 V(position_string, "position") \ | 125 V(position_string, "position") \ |
125 V(preventExtensions_string, "preventExtensions") \ | 126 V(preventExtensions_string, "preventExtensions") \ |
126 V(private_api_string, "private_api") \ | 127 V(private_api_string, "private_api") \ |
127 V(Promise_string, "Promise") \ | 128 V(Promise_string, "Promise") \ |
| 129 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ |
128 V(proto_string, "__proto__") \ | 130 V(proto_string, "__proto__") \ |
129 V(prototype_string, "prototype") \ | 131 V(prototype_string, "prototype") \ |
130 V(Proxy_string, "Proxy") \ | 132 V(Proxy_string, "Proxy") \ |
131 V(query_colon_string, "(?:)") \ | 133 V(query_colon_string, "(?:)") \ |
132 V(RangeError_string, "RangeError") \ | 134 V(RangeError_string, "RangeError") \ |
133 V(ReferenceError_string, "ReferenceError") \ | 135 V(ReferenceError_string, "ReferenceError") \ |
134 V(RegExp_string, "RegExp") \ | 136 V(RegExp_string, "RegExp") \ |
135 V(script_string, "script") \ | 137 V(script_string, "script") \ |
136 V(second_string, "second") \ | 138 V(second_string, "second") \ |
137 V(setPrototypeOf_string, "setPrototypeOf") \ | 139 V(setPrototypeOf_string, "setPrototypeOf") \ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 240 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
239 // them to produce an undefined value when a load results in a failed access | 241 // them to produce an undefined value when a load results in a failed access |
240 // check. Because this behaviour is not specified properly as of yet, it only | 242 // check. Because this behaviour is not specified properly as of yet, it only |
241 // applies to a subset of spec-defined Well-Known Symbols. | 243 // applies to a subset of spec-defined Well-Known Symbols. |
242 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 244 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
243 V(has_instance_symbol, Symbol.hasInstance) \ | 245 V(has_instance_symbol, Symbol.hasInstance) \ |
244 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 246 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
245 V(to_string_tag_symbol, Symbol.toStringTag) | 247 V(to_string_tag_symbol, Symbol.toStringTag) |
246 | 248 |
247 #endif // V8_HEAP_SYMBOLS_H_ | 249 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |