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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 V(isExtensible_string, "isExtensible") \ | 88 V(isExtensible_string, "isExtensible") \ |
89 V(isView_string, "isView") \ | 89 V(isView_string, "isView") \ |
90 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 90 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
91 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 91 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
92 V(last_index_string, "lastIndex") \ | 92 V(last_index_string, "lastIndex") \ |
93 V(length_string, "length") \ | 93 V(length_string, "length") \ |
94 V(line_string, "line") \ | 94 V(line_string, "line") \ |
95 V(Map_string, "Map") \ | 95 V(Map_string, "Map") \ |
96 V(message_string, "message") \ | 96 V(message_string, "message") \ |
97 V(minus_infinity_string, "-Infinity") \ | 97 V(minus_infinity_string, "-Infinity") \ |
| 98 V(zero_string, "0") \ |
98 V(minus_zero_string, "-0") \ | 99 V(minus_zero_string, "-0") \ |
99 V(name_string, "name") \ | 100 V(name_string, "name") \ |
100 V(nan_string, "NaN") \ | 101 V(nan_string, "NaN") \ |
101 V(next_string, "next") \ | 102 V(next_string, "next") \ |
102 V(not_equal, "not-equal") \ | 103 V(not_equal, "not-equal") \ |
103 V(null_string, "null") \ | 104 V(null_string, "null") \ |
104 V(null_to_string, "[object Null]") \ | 105 V(null_to_string, "[object Null]") \ |
105 V(number_string, "number") \ | 106 V(number_string, "number") \ |
106 V(Number_string, "Number") \ | 107 V(Number_string, "Number") \ |
107 V(object_string, "object") \ | 108 V(object_string, "object") \ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 219 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
219 // them to produce an undefined value when a load results in a failed access | 220 // them to produce an undefined value when a load results in a failed access |
220 // check. Because this behaviour is not specified properly as of yet, it only | 221 // check. Because this behaviour is not specified properly as of yet, it only |
221 // applies to a subset of spec-defined Well-Known Symbols. | 222 // applies to a subset of spec-defined Well-Known Symbols. |
222 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 223 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
223 V(has_instance_symbol, Symbol.hasInstance) \ | 224 V(has_instance_symbol, Symbol.hasInstance) \ |
224 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 225 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
225 V(to_string_tag_symbol, Symbol.toStringTag) | 226 V(to_string_tag_symbol, Symbol.toStringTag) |
226 | 227 |
227 #endif // V8_HEAP_SYMBOLS_H_ | 228 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |