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 16 matching lines...) Expand all Loading... |
27 V(Boolean_string, "Boolean") \ | 27 V(Boolean_string, "Boolean") \ |
28 V(bound__string, "bound ") \ | 28 V(bound__string, "bound ") \ |
29 V(byte_length_string, "byteLength") \ | 29 V(byte_length_string, "byteLength") \ |
30 V(byte_offset_string, "byteOffset") \ | 30 V(byte_offset_string, "byteOffset") \ |
31 V(call_string, "call") \ | 31 V(call_string, "call") \ |
32 V(callee_string, "callee") \ | 32 V(callee_string, "callee") \ |
33 V(caller_string, "caller") \ | 33 V(caller_string, "caller") \ |
34 V(cell_value_string, "%cell_value") \ | 34 V(cell_value_string, "%cell_value") \ |
35 V(char_at_string, "CharAt") \ | 35 V(char_at_string, "CharAt") \ |
36 V(closure_string, "(closure)") \ | 36 V(closure_string, "(closure)") \ |
| 37 V(column_string, "column") \ |
37 V(compare_ic_string, "==") \ | 38 V(compare_ic_string, "==") \ |
38 V(configurable_string, "configurable") \ | 39 V(configurable_string, "configurable") \ |
39 V(constructor_string, "constructor") \ | 40 V(constructor_string, "constructor") \ |
40 V(construct_string, "construct") \ | 41 V(construct_string, "construct") \ |
41 V(create_string, "create") \ | 42 V(create_string, "create") \ |
42 V(Date_string, "Date") \ | 43 V(Date_string, "Date") \ |
43 V(default_string, "default") \ | 44 V(default_string, "default") \ |
44 V(defineProperty_string, "defineProperty") \ | 45 V(defineProperty_string, "defineProperty") \ |
45 V(deleteProperty_string, "deleteProperty") \ | 46 V(deleteProperty_string, "deleteProperty") \ |
46 V(display_name_string, "displayName") \ | 47 V(display_name_string, "displayName") \ |
(...skipping 28 matching lines...) Expand all Loading... |
75 V(int32x4_string, "int32x4") \ | 76 V(int32x4_string, "int32x4") \ |
76 V(Int32x4_string, "Int32x4") \ | 77 V(Int32x4_string, "Int32x4") \ |
77 V(int8x16_string, "int8x16") \ | 78 V(int8x16_string, "int8x16") \ |
78 V(Int8x16_string, "Int8x16") \ | 79 V(Int8x16_string, "Int8x16") \ |
79 V(isExtensible_string, "isExtensible") \ | 80 V(isExtensible_string, "isExtensible") \ |
80 V(isView_string, "isView") \ | 81 V(isView_string, "isView") \ |
81 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 82 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
82 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 83 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
83 V(last_index_string, "lastIndex") \ | 84 V(last_index_string, "lastIndex") \ |
84 V(length_string, "length") \ | 85 V(length_string, "length") \ |
| 86 V(line_string, "line") \ |
85 V(Map_string, "Map") \ | 87 V(Map_string, "Map") \ |
86 V(minus_infinity_string, "-Infinity") \ | 88 V(minus_infinity_string, "-Infinity") \ |
87 V(minus_zero_string, "-0") \ | 89 V(minus_zero_string, "-0") \ |
88 V(name_string, "name") \ | 90 V(name_string, "name") \ |
89 V(nan_string, "NaN") \ | 91 V(nan_string, "NaN") \ |
90 V(next_string, "next") \ | 92 V(next_string, "next") \ |
91 V(null_string, "null") \ | 93 V(null_string, "null") \ |
92 V(null_to_string, "[object Null]") \ | 94 V(null_to_string, "[object Null]") \ |
93 V(number_string, "number") \ | 95 V(number_string, "number") \ |
94 V(Number_string, "Number") \ | 96 V(Number_string, "Number") \ |
95 V(object_string, "object") \ | 97 V(object_string, "object") \ |
96 V(Object_string, "Object") \ | 98 V(Object_string, "Object") \ |
97 V(ownKeys_string, "ownKeys") \ | 99 V(ownKeys_string, "ownKeys") \ |
| 100 V(position_string, "position") \ |
98 V(preventExtensions_string, "preventExtensions") \ | 101 V(preventExtensions_string, "preventExtensions") \ |
99 V(private_api_string, "private_api") \ | 102 V(private_api_string, "private_api") \ |
100 V(Promise_string, "Promise") \ | 103 V(Promise_string, "Promise") \ |
101 V(proto_string, "__proto__") \ | 104 V(proto_string, "__proto__") \ |
102 V(prototype_string, "prototype") \ | 105 V(prototype_string, "prototype") \ |
103 V(Proxy_string, "Proxy") \ | 106 V(Proxy_string, "Proxy") \ |
104 V(query_colon_string, "(?:)") \ | 107 V(query_colon_string, "(?:)") \ |
105 V(RegExp_string, "RegExp") \ | 108 V(RegExp_string, "RegExp") \ |
| 109 V(script_string, "script") \ |
106 V(setPrototypeOf_string, "setPrototypeOf") \ | 110 V(setPrototypeOf_string, "setPrototypeOf") \ |
107 V(set_string, "set") \ | 111 V(set_string, "set") \ |
108 V(Set_string, "Set") \ | 112 V(Set_string, "Set") \ |
109 V(source_mapping_url_string, "source_mapping_url") \ | 113 V(source_mapping_url_string, "source_mapping_url") \ |
110 V(source_string, "source") \ | 114 V(source_string, "source") \ |
| 115 V(sourceText_string, "sourceText") \ |
111 V(source_url_string, "source_url") \ | 116 V(source_url_string, "source_url") \ |
112 V(stack_string, "stack") \ | 117 V(stack_string, "stack") \ |
113 V(strict_compare_ic_string, "===") \ | 118 V(strict_compare_ic_string, "===") \ |
114 V(string_string, "string") \ | 119 V(string_string, "string") \ |
115 V(String_string, "String") \ | 120 V(String_string, "String") \ |
116 V(symbol_string, "symbol") \ | 121 V(symbol_string, "symbol") \ |
117 V(Symbol_string, "Symbol") \ | 122 V(Symbol_string, "Symbol") \ |
118 V(this_string, "this") \ | 123 V(this_string, "this") \ |
119 V(throw_string, "throw") \ | 124 V(throw_string, "throw") \ |
120 V(toJSON_string, "toJSON") \ | 125 V(toJSON_string, "toJSON") \ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 201 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
197 // them to produce an undefined value when a load results in a failed access | 202 // them to produce an undefined value when a load results in a failed access |
198 // check. Because this behaviour is not specified properly as of yet, it only | 203 // check. Because this behaviour is not specified properly as of yet, it only |
199 // applies to a subset of spec-defined Well-Known Symbols. | 204 // applies to a subset of spec-defined Well-Known Symbols. |
200 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 205 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
201 V(has_instance_symbol, Symbol.hasInstance) \ | 206 V(has_instance_symbol, Symbol.hasInstance) \ |
202 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 207 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
203 V(to_string_tag_symbol, Symbol.toStringTag) | 208 V(to_string_tag_symbol, Symbol.toStringTag) |
204 | 209 |
205 #endif // V8_HEAP_SYMBOLS_H_ | 210 #endif // V8_HEAP_SYMBOLS_H_ |
OLD | NEW |