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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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") \ | 62 V(EvalError_string, "EvalError") \ |
63 V(false_string, "false") \ | 63 V(false_string, "false") \ |
64 V(flags_string, "flags") \ | |
65 V(float32x4_string, "float32x4") \ | 64 V(float32x4_string, "float32x4") \ |
66 V(Float32x4_string, "Float32x4") \ | 65 V(Float32x4_string, "Float32x4") \ |
67 V(for_api_string, "for_api") \ | 66 V(for_api_string, "for_api") \ |
68 V(for_string, "for") \ | 67 V(for_string, "for") \ |
69 V(function_string, "function") \ | 68 V(function_string, "function") \ |
70 V(Function_string, "Function") \ | 69 V(Function_string, "Function") \ |
71 V(Generator_string, "Generator") \ | 70 V(Generator_string, "Generator") \ |
72 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ | 71 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ |
73 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ | 72 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ |
74 V(getPrototypeOf_string, "getPrototypeOf") \ | 73 V(getPrototypeOf_string, "getPrototypeOf") \ |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 214 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
216 // them to produce an undefined value when a load results in a failed access | 215 // them to produce an undefined value when a load results in a failed access |
217 // check. Because this behaviour is not specified properly as of yet, it only | 216 // check. Because this behaviour is not specified properly as of yet, it only |
218 // applies to a subset of spec-defined Well-Known Symbols. | 217 // applies to a subset of spec-defined Well-Known Symbols. |
219 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 218 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
220 V(has_instance_symbol, Symbol.hasInstance) \ | 219 V(has_instance_symbol, Symbol.hasInstance) \ |
221 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 220 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
222 V(to_string_tag_symbol, Symbol.toStringTag) | 221 V(to_string_tag_symbol, Symbol.toStringTag) |
223 | 222 |
224 #endif // V8_HEAP_SYMBOLS_H_ | 223 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |