Chromium Code Reviews| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 V(private_api_string, "private_api") \ | 128 V(private_api_string, "private_api") \ |
| 129 V(Promise_string, "Promise") \ | 129 V(Promise_string, "Promise") \ |
| 130 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ | 130 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ |
| 131 V(proto_string, "__proto__") \ | 131 V(proto_string, "__proto__") \ |
| 132 V(prototype_string, "prototype") \ | 132 V(prototype_string, "prototype") \ |
| 133 V(Proxy_string, "Proxy") \ | 133 V(Proxy_string, "Proxy") \ |
| 134 V(query_colon_string, "(?:)") \ | 134 V(query_colon_string, "(?:)") \ |
| 135 V(RangeError_string, "RangeError") \ | 135 V(RangeError_string, "RangeError") \ |
| 136 V(ReferenceError_string, "ReferenceError") \ | 136 V(ReferenceError_string, "ReferenceError") \ |
| 137 V(RegExp_string, "RegExp") \ | 137 V(RegExp_string, "RegExp") \ |
| 138 V(reject_string, "reject") \ | |
| 139 V(resolve_string, "resolve") \ | |
|
adamk
2016/11/08 18:09:55
Won't need these if you go with the array-based ap
gsathya
2016/11/08 20:03:19
Done.
| |
| 138 V(script_string, "script") \ | 140 V(script_string, "script") \ |
| 139 V(second_string, "second") \ | 141 V(second_string, "second") \ |
| 140 V(setPrototypeOf_string, "setPrototypeOf") \ | 142 V(setPrototypeOf_string, "setPrototypeOf") \ |
| 141 V(set_string, "set") \ | 143 V(set_string, "set") \ |
| 142 V(Set_string, "Set") \ | 144 V(Set_string, "Set") \ |
| 143 V(source_mapping_url_string, "source_mapping_url") \ | 145 V(source_mapping_url_string, "source_mapping_url") \ |
| 144 V(source_string, "source") \ | 146 V(source_string, "source") \ |
| 145 V(sourceText_string, "sourceText") \ | 147 V(sourceText_string, "sourceText") \ |
| 146 V(source_url_string, "source_url") \ | 148 V(source_url_string, "source_url") \ |
| 147 V(stack_string, "stack") \ | 149 V(stack_string, "stack") \ |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 241 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 243 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 242 // them to produce an undefined value when a load results in a failed access | 244 // them to produce an undefined value when a load results in a failed access |
| 243 // check. Because this behaviour is not specified properly as of yet, it only | 245 // check. Because this behaviour is not specified properly as of yet, it only |
| 244 // applies to a subset of spec-defined Well-Known Symbols. | 246 // applies to a subset of spec-defined Well-Known Symbols. |
| 245 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 247 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 246 V(has_instance_symbol, Symbol.hasInstance) \ | 248 V(has_instance_symbol, Symbol.hasInstance) \ |
| 247 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 249 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 248 V(to_string_tag_symbol, Symbol.toStringTag) | 250 V(to_string_tag_symbol, Symbol.toStringTag) |
| 249 | 251 |
| 250 #endif // V8_HEAP_SYMBOLS_H_ | 252 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |