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

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

Issue 2915793002: [api] Prototype WeakRef implementation
Patch Set: Created 3 years, 6 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/flag-definitions.h ('k') | src/heap/heap.h » ('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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 V(undefined_to_string, "[object Undefined]") \ 180 V(undefined_to_string, "[object Undefined]") \
181 V(unicode_string, "unicode") \ 181 V(unicode_string, "unicode") \
182 V(use_asm_string, "use asm") \ 182 V(use_asm_string, "use asm") \
183 V(use_strict_string, "use strict") \ 183 V(use_strict_string, "use strict") \
184 V(URIError_string, "URIError") \ 184 V(URIError_string, "URIError") \
185 V(valueOf_string, "valueOf") \ 185 V(valueOf_string, "valueOf") \
186 V(values_string, "values") \ 186 V(values_string, "values") \
187 V(value_string, "value") \ 187 V(value_string, "value") \
188 V(WeakMap_string, "WeakMap") \ 188 V(WeakMap_string, "WeakMap") \
189 V(WeakSet_string, "WeakSet") \ 189 V(WeakSet_string, "WeakSet") \
190 V(WeakRef_string, "WeakRef") \
190 V(weekday_string, "weekday") \ 191 V(weekday_string, "weekday") \
191 V(will_handle_string, "willHandle") \ 192 V(will_handle_string, "willHandle") \
192 V(writable_string, "writable") \ 193 V(writable_string, "writable") \
193 V(year_string, "year") 194 V(year_string, "year")
194 195
195 #define PRIVATE_SYMBOL_LIST(V) \ 196 #define PRIVATE_SYMBOL_LIST(V) \
196 V(array_iteration_kind_symbol) \ 197 V(array_iteration_kind_symbol) \
197 V(array_iterator_next_symbol) \ 198 V(array_iterator_next_symbol) \
198 V(array_iterator_object_symbol) \ 199 V(array_iterator_object_symbol) \
199 V(call_site_frame_array_symbol) \ 200 V(call_site_frame_array_symbol) \
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 244 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
244 // them to produce an undefined value when a load results in a failed access 245 // them to produce an undefined value when a load results in a failed access
245 // check. Because this behaviour is not specified properly as of yet, it only 246 // check. Because this behaviour is not specified properly as of yet, it only
246 // applies to a subset of spec-defined Well-Known Symbols. 247 // applies to a subset of spec-defined Well-Known Symbols.
247 #define WELL_KNOWN_SYMBOL_LIST(V) \ 248 #define WELL_KNOWN_SYMBOL_LIST(V) \
248 V(has_instance_symbol, Symbol.hasInstance) \ 249 V(has_instance_symbol, Symbol.hasInstance) \
249 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 250 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
250 V(to_string_tag_symbol, Symbol.toStringTag) 251 V(to_string_tag_symbol, Symbol.toStringTag)
251 252
252 #endif // V8_HEAP_SYMBOLS_H_ 253 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698