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") \ |
11 V(arguments_string, "arguments") \ | 11 V(arguments_string, "arguments") \ |
12 V(Arguments_string, "Arguments") \ | 12 V(Arguments_string, "Arguments") \ |
13 V(arguments_to_string, "[object Arguments]") \ | 13 V(arguments_to_string, "[object Arguments]") \ |
14 V(Array_string, "Array") \ | 14 V(Array_string, "Array") \ |
| 15 V(ArrayIterator_string, "Array Iterator") \ |
15 V(assign_string, "assign") \ | 16 V(assign_string, "assign") \ |
16 V(array_to_string, "[object Array]") \ | 17 V(array_to_string, "[object Array]") \ |
17 V(boolean_to_string, "[object Boolean]") \ | 18 V(boolean_to_string, "[object Boolean]") \ |
18 V(date_to_string, "[object Date]") \ | 19 V(date_to_string, "[object Date]") \ |
19 V(error_to_string, "[object Error]") \ | 20 V(error_to_string, "[object Error]") \ |
20 V(function_to_string, "[object Function]") \ | 21 V(function_to_string, "[object Function]") \ |
21 V(number_to_string, "[object Number]") \ | 22 V(number_to_string, "[object Number]") \ |
22 V(object_to_string, "[object Object]") \ | 23 V(object_to_string, "[object Object]") \ |
23 V(regexp_to_string, "[object RegExp]") \ | 24 V(regexp_to_string, "[object RegExp]") \ |
24 V(string_to_string, "[object String]") \ | 25 V(string_to_string, "[object String]") \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 V(int16x8_string, "int16x8") \ | 89 V(int16x8_string, "int16x8") \ |
89 V(Int16x8_string, "Int16x8") \ | 90 V(Int16x8_string, "Int16x8") \ |
90 V(int32x4_string, "int32x4") \ | 91 V(int32x4_string, "int32x4") \ |
91 V(Int32x4_string, "Int32x4") \ | 92 V(Int32x4_string, "Int32x4") \ |
92 V(int8x16_string, "int8x16") \ | 93 V(int8x16_string, "int8x16") \ |
93 V(Int8x16_string, "Int8x16") \ | 94 V(Int8x16_string, "Int8x16") \ |
94 V(isExtensible_string, "isExtensible") \ | 95 V(isExtensible_string, "isExtensible") \ |
95 V(isView_string, "isView") \ | 96 V(isView_string, "isView") \ |
96 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 97 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
97 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 98 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
| 99 V(keys_string, "keys") \ |
98 V(lastIndex_string, "lastIndex") \ | 100 V(lastIndex_string, "lastIndex") \ |
99 V(length_string, "length") \ | 101 V(length_string, "length") \ |
100 V(line_string, "line") \ | 102 V(line_string, "line") \ |
101 V(literal_string, "literal") \ | 103 V(literal_string, "literal") \ |
102 V(Map_string, "Map") \ | 104 V(Map_string, "Map") \ |
103 V(message_string, "message") \ | 105 V(message_string, "message") \ |
104 V(minus_infinity_string, "-Infinity") \ | 106 V(minus_infinity_string, "-Infinity") \ |
105 V(minus_zero_string, "-0") \ | 107 V(minus_zero_string, "-0") \ |
106 V(minute_string, "minute") \ | 108 V(minute_string, "minute") \ |
107 V(month_string, "month") \ | 109 V(month_string, "month") \ |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // 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 |
235 // 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 |
236 // 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 |
237 // applies to a subset of spec-defined Well-Known Symbols. | 239 // applies to a subset of spec-defined Well-Known Symbols. |
238 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 240 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
239 V(has_instance_symbol, Symbol.hasInstance) \ | 241 V(has_instance_symbol, Symbol.hasInstance) \ |
240 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 242 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
241 V(to_string_tag_symbol, Symbol.toStringTag) | 243 V(to_string_tag_symbol, Symbol.toStringTag) |
242 | 244 |
243 #endif // V8_HEAP_SYMBOLS_H_ | 245 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |