Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: src/heap-symbols.h

Issue 2305573002: [regexp] Port RegExp getters and setters (Closed)
Patch Set: Fix for layout test expectations Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/js/regexp.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 V(for_string, "for") \ 68 V(for_string, "for") \
69 V(function_string, "function") \ 69 V(function_string, "function") \
70 V(Function_string, "Function") \ 70 V(Function_string, "Function") \
71 V(Generator_string, "Generator") \ 71 V(Generator_string, "Generator") \
72 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ 72 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \
73 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ 73 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \
74 V(getPrototypeOf_string, "getPrototypeOf") \ 74 V(getPrototypeOf_string, "getPrototypeOf") \
75 V(get_string, "get") \ 75 V(get_string, "get") \
76 V(global_string, "global") \ 76 V(global_string, "global") \
77 V(has_string, "has") \ 77 V(has_string, "has") \
78 V(ignoreCase_string, "ignoreCase") \
78 V(illegal_access_string, "illegal access") \ 79 V(illegal_access_string, "illegal access") \
79 V(illegal_argument_string, "illegal argument") \ 80 V(illegal_argument_string, "illegal argument") \
80 V(index_string, "index") \ 81 V(index_string, "index") \
81 V(infinity_string, "Infinity") \ 82 V(infinity_string, "Infinity") \
82 V(input_string, "input") \ 83 V(input_string, "input") \
83 V(int16x8_string, "int16x8") \ 84 V(int16x8_string, "int16x8") \
84 V(Int16x8_string, "Int16x8") \ 85 V(Int16x8_string, "Int16x8") \
85 V(int32x4_string, "int32x4") \ 86 V(int32x4_string, "int32x4") \
86 V(Int32x4_string, "Int32x4") \ 87 V(Int32x4_string, "Int32x4") \
87 V(int8x16_string, "int8x16") \ 88 V(int8x16_string, "int8x16") \
88 V(Int8x16_string, "Int8x16") \ 89 V(Int8x16_string, "Int8x16") \
89 V(isExtensible_string, "isExtensible") \ 90 V(isExtensible_string, "isExtensible") \
90 V(isView_string, "isView") \ 91 V(isView_string, "isView") \
91 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ 92 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
92 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 93 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
93 V(last_index_string, "lastIndex") \ 94 V(last_index_string, "lastIndex") \
94 V(length_string, "length") \ 95 V(length_string, "length") \
95 V(line_string, "line") \ 96 V(line_string, "line") \
96 V(Map_string, "Map") \ 97 V(Map_string, "Map") \
97 V(message_string, "message") \ 98 V(message_string, "message") \
98 V(minus_infinity_string, "-Infinity") \ 99 V(minus_infinity_string, "-Infinity") \
99 V(minus_zero_string, "-0") \ 100 V(minus_zero_string, "-0") \
101 V(multiline_string, "multiline") \
100 V(name_string, "name") \ 102 V(name_string, "name") \
101 V(nan_string, "NaN") \ 103 V(nan_string, "NaN") \
102 V(next_string, "next") \ 104 V(next_string, "next") \
103 V(not_equal, "not-equal") \ 105 V(not_equal, "not-equal") \
104 V(null_string, "null") \ 106 V(null_string, "null") \
105 V(null_to_string, "[object Null]") \ 107 V(null_to_string, "[object Null]") \
106 V(number_string, "number") \ 108 V(number_string, "number") \
107 V(Number_string, "Number") \ 109 V(Number_string, "Number") \
108 V(object_string, "object") \ 110 V(object_string, "object") \
109 V(Object_string, "Object") \ 111 V(Object_string, "Object") \
(...skipping 13 matching lines...) Expand all
123 V(script_string, "script") \ 125 V(script_string, "script") \
124 V(setPrototypeOf_string, "setPrototypeOf") \ 126 V(setPrototypeOf_string, "setPrototypeOf") \
125 V(set_string, "set") \ 127 V(set_string, "set") \
126 V(Set_string, "Set") \ 128 V(Set_string, "Set") \
127 V(source_mapping_url_string, "source_mapping_url") \ 129 V(source_mapping_url_string, "source_mapping_url") \
128 V(source_string, "source") \ 130 V(source_string, "source") \
129 V(sourceText_string, "sourceText") \ 131 V(sourceText_string, "sourceText") \
130 V(source_url_string, "source_url") \ 132 V(source_url_string, "source_url") \
131 V(stack_string, "stack") \ 133 V(stack_string, "stack") \
132 V(stackTraceLimit_string, "stackTraceLimit") \ 134 V(stackTraceLimit_string, "stackTraceLimit") \
135 V(sticky_string, "sticky") \
133 V(strict_compare_ic_string, "===") \ 136 V(strict_compare_ic_string, "===") \
134 V(string_string, "string") \ 137 V(string_string, "string") \
135 V(String_string, "String") \ 138 V(String_string, "String") \
136 V(symbol_string, "symbol") \ 139 V(symbol_string, "symbol") \
137 V(Symbol_string, "Symbol") \ 140 V(Symbol_string, "Symbol") \
138 V(SyntaxError_string, "SyntaxError") \ 141 V(SyntaxError_string, "SyntaxError") \
139 V(this_string, "this") \ 142 V(this_string, "this") \
140 V(throw_string, "throw") \ 143 V(throw_string, "throw") \
141 V(timed_out, "timed-out") \ 144 V(timed_out, "timed-out") \
142 V(toJSON_string, "toJSON") \ 145 V(toJSON_string, "toJSON") \
143 V(toString_string, "toString") \ 146 V(toString_string, "toString") \
144 V(true_string, "true") \ 147 V(true_string, "true") \
145 V(TypeError_string, "TypeError") \ 148 V(TypeError_string, "TypeError") \
146 V(uint16x8_string, "uint16x8") \ 149 V(uint16x8_string, "uint16x8") \
147 V(Uint16x8_string, "Uint16x8") \ 150 V(Uint16x8_string, "Uint16x8") \
148 V(uint32x4_string, "uint32x4") \ 151 V(uint32x4_string, "uint32x4") \
149 V(Uint32x4_string, "Uint32x4") \ 152 V(Uint32x4_string, "Uint32x4") \
150 V(uint8x16_string, "uint8x16") \ 153 V(uint8x16_string, "uint8x16") \
151 V(Uint8x16_string, "Uint8x16") \ 154 V(Uint8x16_string, "Uint8x16") \
152 V(undefined_string, "undefined") \ 155 V(undefined_string, "undefined") \
153 V(undefined_to_string, "[object Undefined]") \ 156 V(undefined_to_string, "[object Undefined]") \
157 V(unicode_string, "unicode") \
154 V(URIError_string, "URIError") \ 158 V(URIError_string, "URIError") \
155 V(valueOf_string, "valueOf") \ 159 V(valueOf_string, "valueOf") \
156 V(values_string, "values") \ 160 V(values_string, "values") \
157 V(value_string, "value") \ 161 V(value_string, "value") \
158 V(WeakMap_string, "WeakMap") \ 162 V(WeakMap_string, "WeakMap") \
159 V(WeakSet_string, "WeakSet") \ 163 V(WeakSet_string, "WeakSet") \
160 V(writable_string, "writable") 164 V(writable_string, "writable")
161 165
162 #define PRIVATE_SYMBOL_LIST(V) \ 166 #define PRIVATE_SYMBOL_LIST(V) \
163 V(array_iteration_kind_symbol) \ 167 V(array_iteration_kind_symbol) \
(...skipping 24 matching lines...) Expand all
188 V(premonomorphic_symbol) \ 192 V(premonomorphic_symbol) \
189 V(promise_combined_deferred_symbol) \ 193 V(promise_combined_deferred_symbol) \
190 V(promise_debug_marker_symbol) \ 194 V(promise_debug_marker_symbol) \
191 V(promise_deferred_reactions_symbol) \ 195 V(promise_deferred_reactions_symbol) \
192 V(promise_fulfill_reactions_symbol) \ 196 V(promise_fulfill_reactions_symbol) \
193 V(promise_has_handler_symbol) \ 197 V(promise_has_handler_symbol) \
194 V(promise_raw_symbol) \ 198 V(promise_raw_symbol) \
195 V(promise_reject_reactions_symbol) \ 199 V(promise_reject_reactions_symbol) \
196 V(promise_result_symbol) \ 200 V(promise_result_symbol) \
197 V(promise_state_symbol) \ 201 V(promise_state_symbol) \
202 V(regexp_last_match_info_symbol) \
198 V(sealed_symbol) \ 203 V(sealed_symbol) \
199 V(stack_trace_symbol) \ 204 V(stack_trace_symbol) \
200 V(strict_function_transition_symbol) \ 205 V(strict_function_transition_symbol) \
201 V(string_iterator_iterated_string_symbol) \ 206 V(string_iterator_iterated_string_symbol) \
202 V(string_iterator_next_index_symbol) \ 207 V(string_iterator_next_index_symbol) \
203 V(uninitialized_symbol) 208 V(uninitialized_symbol)
204 209
205 #define PUBLIC_SYMBOL_LIST(V) \ 210 #define PUBLIC_SYMBOL_LIST(V) \
206 V(iterator_symbol, Symbol.iterator) \ 211 V(iterator_symbol, Symbol.iterator) \
207 V(match_symbol, Symbol.match) \ 212 V(match_symbol, Symbol.match) \
208 V(replace_symbol, Symbol.replace) \ 213 V(replace_symbol, Symbol.replace) \
209 V(search_symbol, Symbol.search) \ 214 V(search_symbol, Symbol.search) \
210 V(species_symbol, Symbol.species) \ 215 V(species_symbol, Symbol.species) \
211 V(split_symbol, Symbol.split) \ 216 V(split_symbol, Symbol.split) \
212 V(to_primitive_symbol, Symbol.toPrimitive) \ 217 V(to_primitive_symbol, Symbol.toPrimitive) \
213 V(unscopables_symbol, Symbol.unscopables) 218 V(unscopables_symbol, Symbol.unscopables)
214 219
215 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 220 // 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 221 // 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 222 // check. Because this behaviour is not specified properly as of yet, it only
218 // applies to a subset of spec-defined Well-Known Symbols. 223 // applies to a subset of spec-defined Well-Known Symbols.
219 #define WELL_KNOWN_SYMBOL_LIST(V) \ 224 #define WELL_KNOWN_SYMBOL_LIST(V) \
220 V(has_instance_symbol, Symbol.hasInstance) \ 225 V(has_instance_symbol, Symbol.hasInstance) \
221 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 226 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
222 V(to_string_tag_symbol, Symbol.toStringTag) 227 V(to_string_tag_symbol, Symbol.toStringTag)
223 228
224 #endif // V8_HEAP_SYMBOLS_H_ 229 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/js/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698