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]") \ | 15 V(array_to_string, "[object Array]") \ |
16 V(object_to_string, "[object Object]") \ | 16 V(object_to_string, "[object Object]") \ |
17 V(string_to_string, "[object String]") \ | 17 V(string_to_string, "[object String]") \ |
18 V(function_to_string, "[object Function]") \ | 18 V(function_to_string, "[object Function]") \ |
19 V(bind_string, "bind") \ | 19 V(bind_string, "bind") \ |
20 V(bool16x8_string, "bool16x8") \ | 20 V(bool16x8_string, "bool16x8") \ |
21 V(Bool16x8_string, "Bool16x8") \ | 21 V(Bool16x8_string, "Bool16x8") \ |
22 V(bool32x4_string, "bool32x4") \ | 22 V(bool32x4_string, "bool32x4") \ |
23 V(Bool32x4_string, "Bool32x4") \ | 23 V(Bool32x4_string, "Bool32x4") \ |
24 V(bool8x16_string, "bool8x16") \ | 24 V(bool8x16_string, "bool8x16") \ |
25 V(Bool8x16_string, "Bool8x16") \ | 25 V(Bool8x16_string, "Bool8x16") \ |
26 V(boolean_string, "boolean") \ | 26 V(boolean_string, "boolean") \ |
27 V(Boolean_string, "Boolean") \ | 27 V(Boolean_string, "Boolean") \ |
28 V(bound__string, "bound ") \ | 28 V(bound__string, "bound ") \ |
| 29 V(buffer_string, "buffer") \ |
29 V(byte_length_string, "byteLength") \ | 30 V(byte_length_string, "byteLength") \ |
30 V(byte_offset_string, "byteOffset") \ | 31 V(byte_offset_string, "byteOffset") \ |
31 V(call_string, "call") \ | 32 V(call_string, "call") \ |
32 V(callee_string, "callee") \ | 33 V(callee_string, "callee") \ |
33 V(caller_string, "caller") \ | 34 V(caller_string, "caller") \ |
34 V(cell_value_string, "%cell_value") \ | 35 V(cell_value_string, "%cell_value") \ |
35 V(char_at_string, "CharAt") \ | 36 V(char_at_string, "CharAt") \ |
36 V(closure_string, "(closure)") \ | 37 V(closure_string, "(closure)") \ |
37 V(column_string, "column") \ | 38 V(column_string, "column") \ |
38 V(compare_ic_string, "==") \ | 39 V(compare_ic_string, "==") \ |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 203 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
203 // them to produce an undefined value when a load results in a failed access | 204 // them to produce an undefined value when a load results in a failed access |
204 // check. Because this behaviour is not specified properly as of yet, it only | 205 // check. Because this behaviour is not specified properly as of yet, it only |
205 // applies to a subset of spec-defined Well-Known Symbols. | 206 // applies to a subset of spec-defined Well-Known Symbols. |
206 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 207 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
207 V(has_instance_symbol, Symbol.hasInstance) \ | 208 V(has_instance_symbol, Symbol.hasInstance) \ |
208 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 209 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
209 V(to_string_tag_symbol, Symbol.toStringTag) | 210 V(to_string_tag_symbol, Symbol.toStringTag) |
210 | 211 |
211 #endif // V8_HEAP_SYMBOLS_H_ | 212 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |