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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 V(defineProperty_string, "defineProperty") \ | 52 V(defineProperty_string, "defineProperty") \ |
53 V(deleteProperty_string, "deleteProperty") \ | 53 V(deleteProperty_string, "deleteProperty") \ |
54 V(display_name_string, "displayName") \ | 54 V(display_name_string, "displayName") \ |
55 V(done_string, "done") \ | 55 V(done_string, "done") \ |
56 V(dot_result_string, ".result") \ | 56 V(dot_result_string, ".result") \ |
57 V(dot_string, ".") \ | 57 V(dot_string, ".") \ |
58 V(entries_string, "entries") \ | 58 V(entries_string, "entries") \ |
59 V(enumerable_string, "enumerable") \ | 59 V(enumerable_string, "enumerable") \ |
60 V(Error_string, "Error") \ | 60 V(Error_string, "Error") \ |
61 V(eval_string, "eval") \ | 61 V(eval_string, "eval") \ |
62 V(EvalError_string, "EvalError") \ | |
63 V(false_string, "false") \ | 62 V(false_string, "false") \ |
64 V(float32x4_string, "float32x4") \ | 63 V(float32x4_string, "float32x4") \ |
65 V(Float32x4_string, "Float32x4") \ | 64 V(Float32x4_string, "Float32x4") \ |
66 V(for_api_string, "for_api") \ | 65 V(for_api_string, "for_api") \ |
67 V(for_string, "for") \ | 66 V(for_string, "for") \ |
68 V(function_string, "function") \ | 67 V(function_string, "function") \ |
69 V(Function_string, "Function") \ | 68 V(Function_string, "Function") \ |
70 V(Generator_string, "Generator") \ | 69 V(Generator_string, "Generator") \ |
71 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ | 70 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ |
72 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ | 71 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ |
(...skipping 13 matching lines...) Expand all Loading... |
86 V(int8x16_string, "int8x16") \ | 85 V(int8x16_string, "int8x16") \ |
87 V(Int8x16_string, "Int8x16") \ | 86 V(Int8x16_string, "Int8x16") \ |
88 V(isExtensible_string, "isExtensible") \ | 87 V(isExtensible_string, "isExtensible") \ |
89 V(isView_string, "isView") \ | 88 V(isView_string, "isView") \ |
90 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 89 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
91 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 90 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
92 V(last_index_string, "lastIndex") \ | 91 V(last_index_string, "lastIndex") \ |
93 V(length_string, "length") \ | 92 V(length_string, "length") \ |
94 V(line_string, "line") \ | 93 V(line_string, "line") \ |
95 V(Map_string, "Map") \ | 94 V(Map_string, "Map") \ |
96 V(message_string, "message") \ | |
97 V(minus_infinity_string, "-Infinity") \ | 95 V(minus_infinity_string, "-Infinity") \ |
98 V(minus_zero_string, "-0") \ | 96 V(minus_zero_string, "-0") \ |
99 V(name_string, "name") \ | 97 V(name_string, "name") \ |
100 V(nan_string, "NaN") \ | 98 V(nan_string, "NaN") \ |
101 V(next_string, "next") \ | 99 V(next_string, "next") \ |
102 V(not_equal, "not-equal") \ | 100 V(not_equal, "not-equal") \ |
103 V(null_string, "null") \ | 101 V(null_string, "null") \ |
104 V(null_to_string, "[object Null]") \ | 102 V(null_to_string, "[object Null]") \ |
105 V(number_string, "number") \ | 103 V(number_string, "number") \ |
106 V(Number_string, "Number") \ | 104 V(Number_string, "Number") \ |
107 V(object_string, "object") \ | 105 V(object_string, "object") \ |
108 V(Object_string, "Object") \ | 106 V(Object_string, "Object") \ |
109 V(ok, "ok") \ | 107 V(ok, "ok") \ |
110 V(ownKeys_string, "ownKeys") \ | 108 V(ownKeys_string, "ownKeys") \ |
111 V(position_string, "position") \ | 109 V(position_string, "position") \ |
112 V(preventExtensions_string, "preventExtensions") \ | 110 V(preventExtensions_string, "preventExtensions") \ |
113 V(private_api_string, "private_api") \ | 111 V(private_api_string, "private_api") \ |
114 V(Promise_string, "Promise") \ | 112 V(Promise_string, "Promise") \ |
115 V(proto_string, "__proto__") \ | 113 V(proto_string, "__proto__") \ |
116 V(prototype_string, "prototype") \ | 114 V(prototype_string, "prototype") \ |
117 V(Proxy_string, "Proxy") \ | 115 V(Proxy_string, "Proxy") \ |
118 V(query_colon_string, "(?:)") \ | 116 V(query_colon_string, "(?:)") \ |
119 V(RangeError_string, "RangeError") \ | |
120 V(ReferenceError_string, "ReferenceError") \ | |
121 V(RegExp_string, "RegExp") \ | 117 V(RegExp_string, "RegExp") \ |
122 V(script_string, "script") \ | 118 V(script_string, "script") \ |
123 V(setPrototypeOf_string, "setPrototypeOf") \ | 119 V(setPrototypeOf_string, "setPrototypeOf") \ |
124 V(set_string, "set") \ | 120 V(set_string, "set") \ |
125 V(Set_string, "Set") \ | 121 V(Set_string, "Set") \ |
126 V(source_mapping_url_string, "source_mapping_url") \ | 122 V(source_mapping_url_string, "source_mapping_url") \ |
127 V(source_string, "source") \ | 123 V(source_string, "source") \ |
128 V(sourceText_string, "sourceText") \ | 124 V(sourceText_string, "sourceText") \ |
129 V(source_url_string, "source_url") \ | 125 V(source_url_string, "source_url") \ |
130 V(stack_string, "stack") \ | 126 V(stack_string, "stack") \ |
131 V(strict_compare_ic_string, "===") \ | 127 V(strict_compare_ic_string, "===") \ |
132 V(string_string, "string") \ | 128 V(string_string, "string") \ |
133 V(String_string, "String") \ | 129 V(String_string, "String") \ |
134 V(symbol_string, "symbol") \ | 130 V(symbol_string, "symbol") \ |
135 V(Symbol_string, "Symbol") \ | 131 V(Symbol_string, "Symbol") \ |
136 V(SyntaxError_string, "SyntaxError") \ | |
137 V(this_string, "this") \ | 132 V(this_string, "this") \ |
138 V(throw_string, "throw") \ | 133 V(throw_string, "throw") \ |
139 V(timed_out, "timed-out") \ | 134 V(timed_out, "timed-out") \ |
140 V(toJSON_string, "toJSON") \ | 135 V(toJSON_string, "toJSON") \ |
141 V(toString_string, "toString") \ | 136 V(toString_string, "toString") \ |
142 V(true_string, "true") \ | 137 V(true_string, "true") \ |
143 V(TypeError_string, "TypeError") \ | |
144 V(uint16x8_string, "uint16x8") \ | 138 V(uint16x8_string, "uint16x8") \ |
145 V(Uint16x8_string, "Uint16x8") \ | 139 V(Uint16x8_string, "Uint16x8") \ |
146 V(uint32x4_string, "uint32x4") \ | 140 V(uint32x4_string, "uint32x4") \ |
147 V(Uint32x4_string, "Uint32x4") \ | 141 V(Uint32x4_string, "Uint32x4") \ |
148 V(uint8x16_string, "uint8x16") \ | 142 V(uint8x16_string, "uint8x16") \ |
149 V(Uint8x16_string, "Uint8x16") \ | 143 V(Uint8x16_string, "Uint8x16") \ |
150 V(undefined_string, "undefined") \ | 144 V(undefined_string, "undefined") \ |
151 V(undefined_to_string, "[object Undefined]") \ | 145 V(undefined_to_string, "[object Undefined]") \ |
152 V(URIError_string, "URIError") \ | |
153 V(valueOf_string, "valueOf") \ | 146 V(valueOf_string, "valueOf") \ |
154 V(values_string, "values") \ | 147 V(values_string, "values") \ |
155 V(value_string, "value") \ | 148 V(value_string, "value") \ |
156 V(WeakMap_string, "WeakMap") \ | 149 V(WeakMap_string, "WeakMap") \ |
157 V(WeakSet_string, "WeakSet") \ | 150 V(WeakSet_string, "WeakSet") \ |
158 V(writable_string, "writable") | 151 V(writable_string, "writable") |
159 | 152 |
160 #define PRIVATE_SYMBOL_LIST(V) \ | 153 #define PRIVATE_SYMBOL_LIST(V) \ |
161 V(array_iteration_kind_symbol) \ | 154 V(array_iteration_kind_symbol) \ |
162 V(array_iterator_next_symbol) \ | 155 V(array_iterator_next_symbol) \ |
163 V(array_iterator_object_symbol) \ | 156 V(array_iterator_object_symbol) \ |
164 V(call_site_constructor_symbol) \ | 157 V(call_site_constructor_symbol) \ |
165 V(call_site_function_symbol) \ | 158 V(call_site_function_symbol) \ |
166 V(call_site_position_symbol) \ | 159 V(call_site_position_symbol) \ |
167 V(call_site_receiver_symbol) \ | 160 V(call_site_receiver_symbol) \ |
168 V(call_site_strict_symbol) \ | 161 V(call_site_strict_symbol) \ |
169 V(call_site_wasm_obj_symbol) \ | 162 V(call_site_wasm_obj_symbol) \ |
170 V(call_site_wasm_func_index_symbol) \ | 163 V(call_site_wasm_func_index_symbol) \ |
171 V(class_end_position_symbol) \ | 164 V(class_end_position_symbol) \ |
172 V(class_start_position_symbol) \ | 165 V(class_start_position_symbol) \ |
173 V(detailed_stack_trace_symbol) \ | 166 V(detailed_stack_trace_symbol) \ |
174 V(elements_transition_symbol) \ | 167 V(elements_transition_symbol) \ |
175 V(error_end_pos_symbol) \ | 168 V(error_end_pos_symbol) \ |
176 V(error_script_symbol) \ | 169 V(error_script_symbol) \ |
177 V(error_start_pos_symbol) \ | 170 V(error_start_pos_symbol) \ |
| 171 V(formatted_stack_trace_symbol) \ |
178 V(frozen_symbol) \ | 172 V(frozen_symbol) \ |
179 V(hash_code_symbol) \ | 173 V(hash_code_symbol) \ |
180 V(home_object_symbol) \ | 174 V(home_object_symbol) \ |
181 V(internal_error_symbol) \ | 175 V(internal_error_symbol) \ |
182 V(intl_impl_object_symbol) \ | 176 V(intl_impl_object_symbol) \ |
183 V(intl_initialized_marker_symbol) \ | 177 V(intl_initialized_marker_symbol) \ |
184 V(intl_pattern_symbol) \ | 178 V(intl_pattern_symbol) \ |
185 V(intl_resolved_symbol) \ | 179 V(intl_resolved_symbol) \ |
186 V(megamorphic_symbol) \ | 180 V(megamorphic_symbol) \ |
187 V(native_context_index_symbol) \ | 181 V(native_context_index_symbol) \ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 213 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
220 // them to produce an undefined value when a load results in a failed access | 214 // them to produce an undefined value when a load results in a failed access |
221 // check. Because this behaviour is not specified properly as of yet, it only | 215 // check. Because this behaviour is not specified properly as of yet, it only |
222 // applies to a subset of spec-defined Well-Known Symbols. | 216 // applies to a subset of spec-defined Well-Known Symbols. |
223 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 217 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
224 V(has_instance_symbol, Symbol.hasInstance) \ | 218 V(has_instance_symbol, Symbol.hasInstance) \ |
225 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 219 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
226 V(to_string_tag_symbol, Symbol.toStringTag) | 220 V(to_string_tag_symbol, Symbol.toStringTag) |
227 | 221 |
228 #endif // V8_HEAP_SYMBOLS_H_ | 222 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |