| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 V(enqueue_string, "enqueue") \ | 64 V(enqueue_string, "enqueue") \ |
| 65 V(enumerable_string, "enumerable") \ | 65 V(enumerable_string, "enumerable") \ |
| 66 V(era_string, "era") \ | 66 V(era_string, "era") \ |
| 67 V(Error_string, "Error") \ | 67 V(Error_string, "Error") \ |
| 68 V(eval_string, "eval") \ | 68 V(eval_string, "eval") \ |
| 69 V(EvalError_string, "EvalError") \ | 69 V(EvalError_string, "EvalError") \ |
| 70 V(false_string, "false") \ | 70 V(false_string, "false") \ |
| 71 V(flags_string, "flags") \ | 71 V(flags_string, "flags") \ |
| 72 V(float32x4_string, "float32x4") \ | 72 V(float32x4_string, "float32x4") \ |
| 73 V(Float32x4_string, "Float32x4") \ | 73 V(Float32x4_string, "Float32x4") \ |
| 74 V(for_api_string, "for_api") \ | |
| 75 V(for_string, "for") \ | |
| 76 V(function_string, "function") \ | 74 V(function_string, "function") \ |
| 77 V(Function_string, "Function") \ | 75 V(Function_string, "Function") \ |
| 78 V(Generator_string, "Generator") \ | 76 V(Generator_string, "Generator") \ |
| 79 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ | 77 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ |
| 80 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ | 78 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ |
| 81 V(getPrototypeOf_string, "getPrototypeOf") \ | 79 V(getPrototypeOf_string, "getPrototypeOf") \ |
| 82 V(get_string, "get") \ | 80 V(get_string, "get") \ |
| 83 V(global_string, "global") \ | 81 V(global_string, "global") \ |
| 84 V(has_string, "has") \ | 82 V(has_string, "has") \ |
| 85 V(hour_string, "hour") \ | 83 V(hour_string, "hour") \ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 V(null_string, "null") \ | 116 V(null_string, "null") \ |
| 119 V(null_to_string, "[object Null]") \ | 117 V(null_to_string, "[object Null]") \ |
| 120 V(number_string, "number") \ | 118 V(number_string, "number") \ |
| 121 V(Number_string, "Number") \ | 119 V(Number_string, "Number") \ |
| 122 V(object_string, "object") \ | 120 V(object_string, "object") \ |
| 123 V(Object_string, "Object") \ | 121 V(Object_string, "Object") \ |
| 124 V(ok, "ok") \ | 122 V(ok, "ok") \ |
| 125 V(ownKeys_string, "ownKeys") \ | 123 V(ownKeys_string, "ownKeys") \ |
| 126 V(position_string, "position") \ | 124 V(position_string, "position") \ |
| 127 V(preventExtensions_string, "preventExtensions") \ | 125 V(preventExtensions_string, "preventExtensions") \ |
| 128 V(private_api_string, "private_api") \ | |
| 129 V(Promise_string, "Promise") \ | 126 V(Promise_string, "Promise") \ |
| 130 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ | 127 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ |
| 131 V(proto_string, "__proto__") \ | 128 V(proto_string, "__proto__") \ |
| 132 V(prototype_string, "prototype") \ | 129 V(prototype_string, "prototype") \ |
| 133 V(Proxy_string, "Proxy") \ | 130 V(Proxy_string, "Proxy") \ |
| 134 V(query_colon_string, "(?:)") \ | 131 V(query_colon_string, "(?:)") \ |
| 135 V(RangeError_string, "RangeError") \ | 132 V(RangeError_string, "RangeError") \ |
| 136 V(ReferenceError_string, "ReferenceError") \ | 133 V(ReferenceError_string, "ReferenceError") \ |
| 137 V(RegExp_string, "RegExp") \ | 134 V(RegExp_string, "RegExp") \ |
| 138 V(script_string, "script") \ | 135 V(script_string, "script") \ |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 232 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 236 // them to produce an undefined value when a load results in a failed access | 233 // them to produce an undefined value when a load results in a failed access |
| 237 // check. Because this behaviour is not specified properly as of yet, it only | 234 // check. Because this behaviour is not specified properly as of yet, it only |
| 238 // applies to a subset of spec-defined Well-Known Symbols. | 235 // applies to a subset of spec-defined Well-Known Symbols. |
| 239 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 236 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 240 V(has_instance_symbol, Symbol.hasInstance) \ | 237 V(has_instance_symbol, Symbol.hasInstance) \ |
| 241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 238 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 242 V(to_string_tag_symbol, Symbol.toStringTag) | 239 V(to_string_tag_symbol, Symbol.toStringTag) |
| 243 | 240 |
| 244 #endif // V8_HEAP_SYMBOLS_H_ | 241 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |