| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 V(second_string, "second") \ | 133 V(second_string, "second") \ |
| 134 V(setPrototypeOf_string, "setPrototypeOf") \ | 134 V(setPrototypeOf_string, "setPrototypeOf") \ |
| 135 V(set_string, "set") \ | 135 V(set_string, "set") \ |
| 136 V(Set_string, "Set") \ | 136 V(Set_string, "Set") \ |
| 137 V(source_mapping_url_string, "source_mapping_url") \ | 137 V(source_mapping_url_string, "source_mapping_url") \ |
| 138 V(source_string, "source") \ | 138 V(source_string, "source") \ |
| 139 V(sourceText_string, "sourceText") \ | 139 V(sourceText_string, "sourceText") \ |
| 140 V(source_url_string, "source_url") \ | 140 V(source_url_string, "source_url") \ |
| 141 V(stack_string, "stack") \ | 141 V(stack_string, "stack") \ |
| 142 V(stackTraceLimit_string, "stackTraceLimit") \ | 142 V(stackTraceLimit_string, "stackTraceLimit") \ |
| 143 V(sticky_string, "sticky") \ |
| 143 V(strict_compare_ic_string, "===") \ | 144 V(strict_compare_ic_string, "===") \ |
| 144 V(string_string, "string") \ | 145 V(string_string, "string") \ |
| 145 V(String_string, "String") \ | 146 V(String_string, "String") \ |
| 146 V(symbol_string, "symbol") \ | 147 V(symbol_string, "symbol") \ |
| 147 V(Symbol_string, "Symbol") \ | 148 V(Symbol_string, "Symbol") \ |
| 148 V(SyntaxError_string, "SyntaxError") \ | 149 V(SyntaxError_string, "SyntaxError") \ |
| 149 V(this_string, "this") \ | 150 V(this_string, "this") \ |
| 150 V(throw_string, "throw") \ | 151 V(throw_string, "throw") \ |
| 151 V(timed_out, "timed-out") \ | 152 V(timed_out, "timed-out") \ |
| 152 V(timeZoneName_string, "timeZoneName") \ | 153 V(timeZoneName_string, "timeZoneName") \ |
| 153 V(toJSON_string, "toJSON") \ | 154 V(toJSON_string, "toJSON") \ |
| 154 V(toString_string, "toString") \ | 155 V(toString_string, "toString") \ |
| 155 V(true_string, "true") \ | 156 V(true_string, "true") \ |
| 156 V(TypeError_string, "TypeError") \ | 157 V(TypeError_string, "TypeError") \ |
| 157 V(type_string, "type") \ | 158 V(type_string, "type") \ |
| 158 V(uint16x8_string, "uint16x8") \ | 159 V(uint16x8_string, "uint16x8") \ |
| 159 V(Uint16x8_string, "Uint16x8") \ | 160 V(Uint16x8_string, "Uint16x8") \ |
| 160 V(uint32x4_string, "uint32x4") \ | 161 V(uint32x4_string, "uint32x4") \ |
| 161 V(Uint32x4_string, "Uint32x4") \ | 162 V(Uint32x4_string, "Uint32x4") \ |
| 162 V(uint8x16_string, "uint8x16") \ | 163 V(uint8x16_string, "uint8x16") \ |
| 163 V(Uint8x16_string, "Uint8x16") \ | 164 V(Uint8x16_string, "Uint8x16") \ |
| 164 V(undefined_string, "undefined") \ | 165 V(undefined_string, "undefined") \ |
| 165 V(undefined_to_string, "[object Undefined]") \ | 166 V(undefined_to_string, "[object Undefined]") \ |
| 167 V(unicode_string, "unicode") \ |
| 166 V(URIError_string, "URIError") \ | 168 V(URIError_string, "URIError") \ |
| 167 V(valueOf_string, "valueOf") \ | 169 V(valueOf_string, "valueOf") \ |
| 168 V(values_string, "values") \ | 170 V(values_string, "values") \ |
| 169 V(value_string, "value") \ | 171 V(value_string, "value") \ |
| 170 V(WeakMap_string, "WeakMap") \ | 172 V(WeakMap_string, "WeakMap") \ |
| 171 V(WeakSet_string, "WeakSet") \ | 173 V(WeakSet_string, "WeakSet") \ |
| 172 V(weekday_string, "weekday") \ | 174 V(weekday_string, "weekday") \ |
| 173 V(writable_string, "writable") \ | 175 V(writable_string, "writable") \ |
| 174 V(year_string, "year") | 176 V(year_string, "year") |
| 175 | 177 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 234 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 233 // them to produce an undefined value when a load results in a failed access | 235 // them to produce an undefined value when a load results in a failed access |
| 234 // check. Because this behaviour is not specified properly as of yet, it only | 236 // check. Because this behaviour is not specified properly as of yet, it only |
| 235 // applies to a subset of spec-defined Well-Known Symbols. | 237 // applies to a subset of spec-defined Well-Known Symbols. |
| 236 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 238 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 237 V(has_instance_symbol, Symbol.hasInstance) \ | 239 V(has_instance_symbol, Symbol.hasInstance) \ |
| 238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 240 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 239 V(to_string_tag_symbol, Symbol.toStringTag) | 241 V(to_string_tag_symbol, Symbol.toStringTag) |
| 240 | 242 |
| 241 #endif // V8_HEAP_SYMBOLS_H_ | 243 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |