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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 V(keys_string, "keys") \ | 100 V(keys_string, "keys") \ |
101 V(lastIndex_string, "lastIndex") \ | 101 V(lastIndex_string, "lastIndex") \ |
102 V(length_string, "length") \ | 102 V(length_string, "length") \ |
103 V(line_string, "line") \ | 103 V(line_string, "line") \ |
104 V(literal_string, "literal") \ | 104 V(literal_string, "literal") \ |
105 V(Map_string, "Map") \ | 105 V(Map_string, "Map") \ |
106 V(message_string, "message") \ | 106 V(message_string, "message") \ |
107 V(minus_infinity_string, "-Infinity") \ | 107 V(minus_infinity_string, "-Infinity") \ |
108 V(minus_zero_string, "-0") \ | 108 V(minus_zero_string, "-0") \ |
109 V(minute_string, "minute") \ | 109 V(minute_string, "minute") \ |
| 110 V(Module_string, "Module") \ |
110 V(month_string, "month") \ | 111 V(month_string, "month") \ |
111 V(multiline_string, "multiline") \ | 112 V(multiline_string, "multiline") \ |
112 V(name_string, "name") \ | 113 V(name_string, "name") \ |
113 V(nan_string, "NaN") \ | 114 V(nan_string, "NaN") \ |
114 V(next_string, "next") \ | 115 V(next_string, "next") \ |
115 V(not_equal, "not-equal") \ | 116 V(not_equal, "not-equal") \ |
116 V(null_string, "null") \ | 117 V(null_string, "null") \ |
117 V(null_to_string, "[object Null]") \ | 118 V(null_to_string, "[object Null]") \ |
118 V(number_string, "number") \ | 119 V(number_string, "number") \ |
119 V(Number_string, "Number") \ | 120 V(Number_string, "Number") \ |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 238 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
238 // them to produce an undefined value when a load results in a failed access | 239 // them to produce an undefined value when a load results in a failed access |
239 // check. Because this behaviour is not specified properly as of yet, it only | 240 // check. Because this behaviour is not specified properly as of yet, it only |
240 // applies to a subset of spec-defined Well-Known Symbols. | 241 // applies to a subset of spec-defined Well-Known Symbols. |
241 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 242 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
242 V(has_instance_symbol, Symbol.hasInstance) \ | 243 V(has_instance_symbol, Symbol.hasInstance) \ |
243 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 244 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
244 V(to_string_tag_symbol, Symbol.toStringTag) | 245 V(to_string_tag_symbol, Symbol.toStringTag) |
245 | 246 |
246 #endif // V8_HEAP_SYMBOLS_H_ | 247 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |