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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 V(source_url_string, "source_url") \ | 146 V(source_url_string, "source_url") \ |
147 V(stack_string, "stack") \ | 147 V(stack_string, "stack") \ |
148 V(stackTraceLimit_string, "stackTraceLimit") \ | 148 V(stackTraceLimit_string, "stackTraceLimit") \ |
149 V(sticky_string, "sticky") \ | 149 V(sticky_string, "sticky") \ |
150 V(strict_compare_ic_string, "===") \ | 150 V(strict_compare_ic_string, "===") \ |
151 V(string_string, "string") \ | 151 V(string_string, "string") \ |
152 V(String_string, "String") \ | 152 V(String_string, "String") \ |
153 V(symbol_string, "symbol") \ | 153 V(symbol_string, "symbol") \ |
154 V(Symbol_string, "Symbol") \ | 154 V(Symbol_string, "Symbol") \ |
155 V(SyntaxError_string, "SyntaxError") \ | 155 V(SyntaxError_string, "SyntaxError") \ |
| 156 V(then_string, "then") \ |
156 V(this_string, "this") \ | 157 V(this_string, "this") \ |
157 V(throw_string, "throw") \ | 158 V(throw_string, "throw") \ |
158 V(timed_out, "timed-out") \ | 159 V(timed_out, "timed-out") \ |
159 V(timeZoneName_string, "timeZoneName") \ | 160 V(timeZoneName_string, "timeZoneName") \ |
160 V(toJSON_string, "toJSON") \ | 161 V(toJSON_string, "toJSON") \ |
161 V(toString_string, "toString") \ | 162 V(toString_string, "toString") \ |
162 V(true_string, "true") \ | 163 V(true_string, "true") \ |
163 V(TypeError_string, "TypeError") \ | 164 V(TypeError_string, "TypeError") \ |
164 V(type_string, "type") \ | 165 V(type_string, "type") \ |
165 V(CompileError_string, "CompileError") \ | 166 V(CompileError_string, "CompileError") \ |
(...skipping 69 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 | 236 // 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 | 237 // 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 | 238 // check. Because this behaviour is not specified properly as of yet, it only |
238 // applies to a subset of spec-defined Well-Known Symbols. | 239 // applies to a subset of spec-defined Well-Known Symbols. |
239 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 240 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
240 V(has_instance_symbol, Symbol.hasInstance) \ | 241 V(has_instance_symbol, Symbol.hasInstance) \ |
241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 242 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
242 V(to_string_tag_symbol, Symbol.toStringTag) | 243 V(to_string_tag_symbol, Symbol.toStringTag) |
243 | 244 |
244 #endif // V8_HEAP_SYMBOLS_H_ | 245 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |