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

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

Issue 2903533002: Revert of [es2015] Precompute the descriptive string for symbols. (Closed)
Patch Set: Created 3 years, 7 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/factory.cc ('k') | src/heap/heap.cc » ('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_function_string, "(anonymous function)") \ 9 V(anonymous_function_string, "(anonymous function)") \
10 V(anonymous_string, "anonymous") \ 10 V(anonymous_string, "anonymous") \
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 V(source_url_string, "source_url") \ 153 V(source_url_string, "source_url") \
154 V(stack_string, "stack") \ 154 V(stack_string, "stack") \
155 V(stackTraceLimit_string, "stackTraceLimit") \ 155 V(stackTraceLimit_string, "stackTraceLimit") \
156 V(star_default_star_string, "*default*") \ 156 V(star_default_star_string, "*default*") \
157 V(sticky_string, "sticky") \ 157 V(sticky_string, "sticky") \
158 V(strict_compare_ic_string, "===") \ 158 V(strict_compare_ic_string, "===") \
159 V(string_string, "string") \ 159 V(string_string, "string") \
160 V(String_string, "String") \ 160 V(String_string, "String") \
161 V(symbol_string, "symbol") \ 161 V(symbol_string, "symbol") \
162 V(Symbol_string, "Symbol") \ 162 V(Symbol_string, "Symbol") \
163 V(Symbol_parens_string, "Symbol()") \
164 V(symbol_species_string, "[Symbol.species]") \ 163 V(symbol_species_string, "[Symbol.species]") \
165 V(SyntaxError_string, "SyntaxError") \ 164 V(SyntaxError_string, "SyntaxError") \
166 V(then_string, "then") \ 165 V(then_string, "then") \
167 V(this_function_string, ".this_function") \ 166 V(this_function_string, ".this_function") \
168 V(this_string, "this") \ 167 V(this_string, "this") \
169 V(throw_string, "throw") \ 168 V(throw_string, "throw") \
170 V(timed_out, "timed-out") \ 169 V(timed_out, "timed-out") \
171 V(timeZoneName_string, "timeZoneName") \ 170 V(timeZoneName_string, "timeZoneName") \
172 V(toJSON_string, "toJSON") \ 171 V(toJSON_string, "toJSON") \
173 V(toString_string, "toString") \ 172 V(toString_string, "toString") \
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // 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
245 // 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
246 // 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
247 // applies to a subset of spec-defined Well-Known Symbols. 246 // applies to a subset of spec-defined Well-Known Symbols.
248 #define WELL_KNOWN_SYMBOL_LIST(V) \ 247 #define WELL_KNOWN_SYMBOL_LIST(V) \
249 V(has_instance_symbol, Symbol.hasInstance) \ 248 V(has_instance_symbol, Symbol.hasInstance) \
250 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 249 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
251 V(to_string_tag_symbol, Symbol.toStringTag) 250 V(to_string_tag_symbol, Symbol.toStringTag)
252 251
253 #endif // V8_HEAP_SYMBOLS_H_ 252 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698