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(assign_string, "assign") \ | 11 V(assign_string, "assign") \ |
12 V(arguments_string, "arguments") \ | 12 V(arguments_string, "arguments") \ |
13 V(Arguments_string, "Arguments") \ | 13 V(Arguments_string, "Arguments") \ |
14 V(Array_string, "Array") \ | 14 V(Array_string, "Array") \ |
| 15 V(array_to_string, "[object Array]") \ |
| 16 V(object_to_string, "[object Object]") \ |
| 17 V(string_to_string, "[object String]") \ |
| 18 V(function_to_string, "[object Function]") \ |
15 V(bind_string, "bind") \ | 19 V(bind_string, "bind") \ |
16 V(bool16x8_string, "bool16x8") \ | 20 V(bool16x8_string, "bool16x8") \ |
17 V(Bool16x8_string, "Bool16x8") \ | 21 V(Bool16x8_string, "Bool16x8") \ |
18 V(bool32x4_string, "bool32x4") \ | 22 V(bool32x4_string, "bool32x4") \ |
19 V(Bool32x4_string, "Bool32x4") \ | 23 V(Bool32x4_string, "Bool32x4") \ |
20 V(bool8x16_string, "bool8x16") \ | 24 V(bool8x16_string, "bool8x16") \ |
21 V(Bool8x16_string, "Bool8x16") \ | 25 V(Bool8x16_string, "Bool8x16") \ |
22 V(boolean_string, "boolean") \ | 26 V(boolean_string, "boolean") \ |
23 V(Boolean_string, "Boolean") \ | 27 V(Boolean_string, "Boolean") \ |
24 V(bound__string, "bound ") \ | 28 V(bound__string, "bound ") \ |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 196 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
193 // them to produce an undefined value when a load results in a failed access | 197 // them to produce an undefined value when a load results in a failed access |
194 // check. Because this behaviour is not specified properly as of yet, it only | 198 // check. Because this behaviour is not specified properly as of yet, it only |
195 // applies to a subset of spec-defined Well-Known Symbols. | 199 // applies to a subset of spec-defined Well-Known Symbols. |
196 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 200 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
197 V(has_instance_symbol, Symbol.hasInstance) \ | 201 V(has_instance_symbol, Symbol.hasInstance) \ |
198 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 202 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
199 V(to_string_tag_symbol, Symbol.toStringTag) | 203 V(to_string_tag_symbol, Symbol.toStringTag) |
200 | 204 |
201 #endif // V8_HEAP_SYMBOLS_H_ | 205 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |