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

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

Issue 2536463002: Create JSPromise (Closed)
Patch Set: rebase Created 4 years 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/debug/mirrors.js ('k') | src/isolate.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_string, "anonymous") \ 9 V(anonymous_string, "anonymous") \
10 V(apply_string, "apply") \ 10 V(apply_string, "apply") \
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 V(intl_resolved_symbol) \ 206 V(intl_resolved_symbol) \
207 V(megamorphic_symbol) \ 207 V(megamorphic_symbol) \
208 V(native_context_index_symbol) \ 208 V(native_context_index_symbol) \
209 V(nonexistent_symbol) \ 209 V(nonexistent_symbol) \
210 V(nonextensible_symbol) \ 210 V(nonextensible_symbol) \
211 V(normal_ic_symbol) \ 211 V(normal_ic_symbol) \
212 V(not_mapped_symbol) \ 212 V(not_mapped_symbol) \
213 V(premonomorphic_symbol) \ 213 V(premonomorphic_symbol) \
214 V(promise_async_stack_id_symbol) \ 214 V(promise_async_stack_id_symbol) \
215 V(promise_debug_marker_symbol) \ 215 V(promise_debug_marker_symbol) \
216 V(promise_deferred_reaction_symbol) \
217 V(promise_forwarding_handler_symbol) \ 216 V(promise_forwarding_handler_symbol) \
218 V(promise_fulfill_reactions_symbol) \
219 V(promise_handled_by_symbol) \ 217 V(promise_handled_by_symbol) \
220 V(promise_handled_hint_symbol) \ 218 V(promise_handled_hint_symbol) \
221 V(promise_has_handler_symbol) \ 219 V(promise_has_handler_symbol) \
222 V(promise_raw_symbol) \
223 V(promise_reject_reactions_symbol) \
224 V(promise_result_symbol) \
225 V(promise_state_symbol) \
226 V(sealed_symbol) \ 220 V(sealed_symbol) \
227 V(stack_trace_symbol) \ 221 V(stack_trace_symbol) \
228 V(strict_function_transition_symbol) \ 222 V(strict_function_transition_symbol) \
229 V(uninitialized_symbol) 223 V(uninitialized_symbol)
230 224
231 #define PUBLIC_SYMBOL_LIST(V) \ 225 #define PUBLIC_SYMBOL_LIST(V) \
232 V(iterator_symbol, Symbol.iterator) \ 226 V(iterator_symbol, Symbol.iterator) \
233 V(match_symbol, Symbol.match) \ 227 V(match_symbol, Symbol.match) \
234 V(replace_symbol, Symbol.replace) \ 228 V(replace_symbol, Symbol.replace) \
235 V(search_symbol, Symbol.search) \ 229 V(search_symbol, Symbol.search) \
236 V(species_symbol, Symbol.species) \ 230 V(species_symbol, Symbol.species) \
237 V(split_symbol, Symbol.split) \ 231 V(split_symbol, Symbol.split) \
238 V(to_primitive_symbol, Symbol.toPrimitive) \ 232 V(to_primitive_symbol, Symbol.toPrimitive) \
239 V(unscopables_symbol, Symbol.unscopables) 233 V(unscopables_symbol, Symbol.unscopables)
240 234
241 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 235 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
242 // them to produce an undefined value when a load results in a failed access 236 // them to produce an undefined value when a load results in a failed access
243 // check. Because this behaviour is not specified properly as of yet, it only 237 // check. Because this behaviour is not specified properly as of yet, it only
244 // applies to a subset of spec-defined Well-Known Symbols. 238 // applies to a subset of spec-defined Well-Known Symbols.
245 #define WELL_KNOWN_SYMBOL_LIST(V) \ 239 #define WELL_KNOWN_SYMBOL_LIST(V) \
246 V(has_instance_symbol, Symbol.hasInstance) \ 240 V(has_instance_symbol, Symbol.hasInstance) \
247 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 241 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
248 V(to_string_tag_symbol, Symbol.toStringTag) 242 V(to_string_tag_symbol, Symbol.toStringTag)
249 243
250 #endif // V8_HEAP_SYMBOLS_H_ 244 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/debug/mirrors.js ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698