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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 V(number_string, "number") \ | 118 V(number_string, "number") \ |
119 V(Number_string, "Number") \ | 119 V(Number_string, "Number") \ |
120 V(object_string, "object") \ | 120 V(object_string, "object") \ |
121 V(Object_string, "Object") \ | 121 V(Object_string, "Object") \ |
122 V(ok, "ok") \ | 122 V(ok, "ok") \ |
123 V(ownKeys_string, "ownKeys") \ | 123 V(ownKeys_string, "ownKeys") \ |
124 V(position_string, "position") \ | 124 V(position_string, "position") \ |
125 V(preventExtensions_string, "preventExtensions") \ | 125 V(preventExtensions_string, "preventExtensions") \ |
126 V(Promise_string, "Promise") \ | 126 V(Promise_string, "Promise") \ |
127 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ | 127 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ |
| 128 V(promise_string, "promise") \ |
128 V(proto_string, "__proto__") \ | 129 V(proto_string, "__proto__") \ |
129 V(prototype_string, "prototype") \ | 130 V(prototype_string, "prototype") \ |
130 V(Proxy_string, "Proxy") \ | 131 V(Proxy_string, "Proxy") \ |
131 V(query_colon_string, "(?:)") \ | 132 V(query_colon_string, "(?:)") \ |
132 V(RangeError_string, "RangeError") \ | 133 V(RangeError_string, "RangeError") \ |
133 V(ReferenceError_string, "ReferenceError") \ | 134 V(ReferenceError_string, "ReferenceError") \ |
134 V(RegExp_string, "RegExp") \ | 135 V(RegExp_string, "RegExp") \ |
| 136 V(reject_string, "reject") \ |
| 137 V(resolve_string, "resolve") \ |
135 V(script_string, "script") \ | 138 V(script_string, "script") \ |
136 V(second_string, "second") \ | 139 V(second_string, "second") \ |
137 V(setPrototypeOf_string, "setPrototypeOf") \ | 140 V(setPrototypeOf_string, "setPrototypeOf") \ |
138 V(set_string, "set") \ | 141 V(set_string, "set") \ |
139 V(Set_string, "Set") \ | 142 V(Set_string, "Set") \ |
140 V(source_mapping_url_string, "source_mapping_url") \ | 143 V(source_mapping_url_string, "source_mapping_url") \ |
141 V(source_string, "source") \ | 144 V(source_string, "source") \ |
142 V(sourceText_string, "sourceText") \ | 145 V(sourceText_string, "sourceText") \ |
143 V(source_url_string, "source_url") \ | 146 V(source_url_string, "source_url") \ |
144 V(stack_string, "stack") \ | 147 V(stack_string, "stack") \ |
(...skipping 87 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 | 235 // 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 | 236 // 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 | 237 // check. Because this behaviour is not specified properly as of yet, it only |
235 // applies to a subset of spec-defined Well-Known Symbols. | 238 // applies to a subset of spec-defined Well-Known Symbols. |
236 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 239 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
237 V(has_instance_symbol, Symbol.hasInstance) \ | 240 V(has_instance_symbol, Symbol.hasInstance) \ |
238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
239 V(to_string_tag_symbol, Symbol.toStringTag) | 242 V(to_string_tag_symbol, Symbol.toStringTag) |
240 | 243 |
241 #endif // V8_HEAP_SYMBOLS_H_ | 244 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |