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 12 matching lines...) Expand all Loading... |
23 V(Boolean_string, "Boolean") \ | 23 V(Boolean_string, "Boolean") \ |
24 V(bound__string, "bound ") \ | 24 V(bound__string, "bound ") \ |
25 V(byte_length_string, "byteLength") \ | 25 V(byte_length_string, "byteLength") \ |
26 V(byte_offset_string, "byteOffset") \ | 26 V(byte_offset_string, "byteOffset") \ |
27 V(call_string, "call") \ | 27 V(call_string, "call") \ |
28 V(callee_string, "callee") \ | 28 V(callee_string, "callee") \ |
29 V(caller_string, "caller") \ | 29 V(caller_string, "caller") \ |
30 V(cell_value_string, "%cell_value") \ | 30 V(cell_value_string, "%cell_value") \ |
31 V(char_at_string, "CharAt") \ | 31 V(char_at_string, "CharAt") \ |
32 V(closure_string, "(closure)") \ | 32 V(closure_string, "(closure)") \ |
33 V(column_string, "column") \ | |
34 V(compare_ic_string, "==") \ | 33 V(compare_ic_string, "==") \ |
35 V(configurable_string, "configurable") \ | 34 V(configurable_string, "configurable") \ |
36 V(constructor_string, "constructor") \ | 35 V(constructor_string, "constructor") \ |
37 V(construct_string, "construct") \ | 36 V(construct_string, "construct") \ |
38 V(create_string, "create") \ | 37 V(create_string, "create") \ |
39 V(Date_string, "Date") \ | 38 V(Date_string, "Date") \ |
40 V(default_string, "default") \ | 39 V(default_string, "default") \ |
41 V(defineProperty_string, "defineProperty") \ | 40 V(defineProperty_string, "defineProperty") \ |
42 V(deleteProperty_string, "deleteProperty") \ | 41 V(deleteProperty_string, "deleteProperty") \ |
43 V(display_name_string, "displayName") \ | 42 V(display_name_string, "displayName") \ |
(...skipping 28 matching lines...) Expand all Loading... |
72 V(int32x4_string, "int32x4") \ | 71 V(int32x4_string, "int32x4") \ |
73 V(Int32x4_string, "Int32x4") \ | 72 V(Int32x4_string, "Int32x4") \ |
74 V(int8x16_string, "int8x16") \ | 73 V(int8x16_string, "int8x16") \ |
75 V(Int8x16_string, "Int8x16") \ | 74 V(Int8x16_string, "Int8x16") \ |
76 V(isExtensible_string, "isExtensible") \ | 75 V(isExtensible_string, "isExtensible") \ |
77 V(isView_string, "isView") \ | 76 V(isView_string, "isView") \ |
78 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 77 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
79 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 78 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
80 V(last_index_string, "lastIndex") \ | 79 V(last_index_string, "lastIndex") \ |
81 V(length_string, "length") \ | 80 V(length_string, "length") \ |
82 V(line_string, "line") \ | |
83 V(Map_string, "Map") \ | 81 V(Map_string, "Map") \ |
84 V(minus_infinity_string, "-Infinity") \ | 82 V(minus_infinity_string, "-Infinity") \ |
85 V(minus_zero_string, "-0") \ | 83 V(minus_zero_string, "-0") \ |
86 V(name_string, "name") \ | 84 V(name_string, "name") \ |
87 V(nan_string, "NaN") \ | 85 V(nan_string, "NaN") \ |
88 V(next_string, "next") \ | 86 V(next_string, "next") \ |
89 V(null_string, "null") \ | 87 V(null_string, "null") \ |
90 V(null_to_string, "[object Null]") \ | 88 V(null_to_string, "[object Null]") \ |
91 V(number_string, "number") \ | 89 V(number_string, "number") \ |
92 V(Number_string, "Number") \ | 90 V(Number_string, "Number") \ |
93 V(object_string, "object") \ | 91 V(object_string, "object") \ |
94 V(Object_string, "Object") \ | 92 V(Object_string, "Object") \ |
95 V(ownKeys_string, "ownKeys") \ | 93 V(ownKeys_string, "ownKeys") \ |
96 V(position_string, "position") \ | |
97 V(preventExtensions_string, "preventExtensions") \ | 94 V(preventExtensions_string, "preventExtensions") \ |
98 V(private_api_string, "private_api") \ | 95 V(private_api_string, "private_api") \ |
99 V(Promise_string, "Promise") \ | 96 V(Promise_string, "Promise") \ |
100 V(proto_string, "__proto__") \ | 97 V(proto_string, "__proto__") \ |
101 V(prototype_string, "prototype") \ | 98 V(prototype_string, "prototype") \ |
102 V(Proxy_string, "Proxy") \ | 99 V(Proxy_string, "Proxy") \ |
103 V(query_colon_string, "(?:)") \ | 100 V(query_colon_string, "(?:)") \ |
104 V(RegExp_string, "RegExp") \ | 101 V(RegExp_string, "RegExp") \ |
105 V(script_string, "script") \ | |
106 V(setPrototypeOf_string, "setPrototypeOf") \ | 102 V(setPrototypeOf_string, "setPrototypeOf") \ |
107 V(set_string, "set") \ | 103 V(set_string, "set") \ |
108 V(Set_string, "Set") \ | 104 V(Set_string, "Set") \ |
109 V(source_mapping_url_string, "source_mapping_url") \ | 105 V(source_mapping_url_string, "source_mapping_url") \ |
110 V(source_string, "source") \ | 106 V(source_string, "source") \ |
111 V(sourceText_string, "sourceText") \ | |
112 V(source_url_string, "source_url") \ | 107 V(source_url_string, "source_url") \ |
113 V(stack_string, "stack") \ | 108 V(stack_string, "stack") \ |
114 V(strict_compare_ic_string, "===") \ | 109 V(strict_compare_ic_string, "===") \ |
115 V(string_string, "string") \ | 110 V(string_string, "string") \ |
116 V(String_string, "String") \ | 111 V(String_string, "String") \ |
117 V(symbol_string, "symbol") \ | 112 V(symbol_string, "symbol") \ |
118 V(Symbol_string, "Symbol") \ | 113 V(Symbol_string, "Symbol") \ |
119 V(this_string, "this") \ | 114 V(this_string, "this") \ |
120 V(throw_string, "throw") \ | 115 V(throw_string, "throw") \ |
121 V(toJSON_string, "toJSON") \ | 116 V(toJSON_string, "toJSON") \ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 192 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
198 // them to produce an undefined value when a load results in a failed access | 193 // them to produce an undefined value when a load results in a failed access |
199 // check. Because this behaviour is not specified properly as of yet, it only | 194 // check. Because this behaviour is not specified properly as of yet, it only |
200 // applies to a subset of spec-defined Well-Known Symbols. | 195 // applies to a subset of spec-defined Well-Known Symbols. |
201 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 196 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
202 V(has_instance_symbol, Symbol.hasInstance) \ | 197 V(has_instance_symbol, Symbol.hasInstance) \ |
203 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 198 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
204 V(to_string_tag_symbol, Symbol.toStringTag) | 199 V(to_string_tag_symbol, Symbol.toStringTag) |
205 | 200 |
206 #endif // V8_HEAP_SYMBOLS_H_ | 201 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |