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

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

Issue 2007803002: Promises: Lazily create arrays to store resolve, reject callbacks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup Created 4 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 | « no previous file | src/js/promise.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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 V(megamorphic_symbol) \ 169 V(megamorphic_symbol) \
170 V(native_context_index_symbol) \ 170 V(native_context_index_symbol) \
171 V(nonexistent_symbol) \ 171 V(nonexistent_symbol) \
172 V(nonextensible_symbol) \ 172 V(nonextensible_symbol) \
173 V(normal_ic_symbol) \ 173 V(normal_ic_symbol) \
174 V(not_mapped_symbol) \ 174 V(not_mapped_symbol) \
175 V(premonomorphic_symbol) \ 175 V(premonomorphic_symbol) \
176 V(promise_combined_deferred_symbol) \ 176 V(promise_combined_deferred_symbol) \
177 V(promise_debug_marker_symbol) \ 177 V(promise_debug_marker_symbol) \
178 V(promise_has_handler_symbol) \ 178 V(promise_has_handler_symbol) \
179 V(promise_deferred_reactions_symbol) \
179 V(promise_fulfill_reactions_symbol) \ 180 V(promise_fulfill_reactions_symbol) \
180 V(promise_reject_reactions_symbol) \ 181 V(promise_reject_reactions_symbol) \
181 V(promise_raw_symbol) \ 182 V(promise_raw_symbol) \
182 V(promise_state_symbol) \ 183 V(promise_state_symbol) \
183 V(promise_result_symbol) \ 184 V(promise_result_symbol) \
184 V(sealed_symbol) \ 185 V(sealed_symbol) \
185 V(stack_trace_symbol) \ 186 V(stack_trace_symbol) \
186 V(strict_function_transition_symbol) \ 187 V(strict_function_transition_symbol) \
187 V(string_iterator_iterated_string_symbol) \ 188 V(string_iterator_iterated_string_symbol) \
188 V(string_iterator_next_index_symbol) \ 189 V(string_iterator_next_index_symbol) \
(...skipping 12 matching lines...) Expand all
201 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 202 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
202 // them to produce an undefined value when a load results in a failed access 203 // them to produce an undefined value when a load results in a failed access
203 // check. Because this behaviour is not specified properly as of yet, it only 204 // check. Because this behaviour is not specified properly as of yet, it only
204 // applies to a subset of spec-defined Well-Known Symbols. 205 // applies to a subset of spec-defined Well-Known Symbols.
205 #define WELL_KNOWN_SYMBOL_LIST(V) \ 206 #define WELL_KNOWN_SYMBOL_LIST(V) \
206 V(has_instance_symbol, Symbol.hasInstance) \ 207 V(has_instance_symbol, Symbol.hasInstance) \
207 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 208 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
208 V(to_string_tag_symbol, Symbol.toStringTag) 209 V(to_string_tag_symbol, Symbol.toStringTag)
209 210
210 #endif // V8_HEAP_SYMBOLS_H_ 211 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « no previous file | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698