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

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

Issue 2977113002: [wasm] Fix user properties for exported wasm functions and add extensive tests. (Closed)
Patch Set: Address nit Created 3 years, 5 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/wasm/wasm-js.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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 V(promise_async_stack_id_symbol) \ 234 V(promise_async_stack_id_symbol) \
235 V(promise_debug_marker_symbol) \ 235 V(promise_debug_marker_symbol) \
236 V(promise_forwarding_handler_symbol) \ 236 V(promise_forwarding_handler_symbol) \
237 V(promise_handled_by_symbol) \ 237 V(promise_handled_by_symbol) \
238 V(promise_async_id_symbol) \ 238 V(promise_async_id_symbol) \
239 V(promise_default_resolve_handler_symbol) \ 239 V(promise_default_resolve_handler_symbol) \
240 V(promise_default_reject_handler_symbol) \ 240 V(promise_default_reject_handler_symbol) \
241 V(sealed_symbol) \ 241 V(sealed_symbol) \
242 V(stack_trace_symbol) \ 242 V(stack_trace_symbol) \
243 V(strict_function_transition_symbol) \ 243 V(strict_function_transition_symbol) \
244 V(wasm_function_index_symbol) \
245 V(wasm_instance_symbol) \
244 V(uninitialized_symbol) 246 V(uninitialized_symbol)
245 247
246 #define PUBLIC_SYMBOL_LIST(V) \ 248 #define PUBLIC_SYMBOL_LIST(V) \
247 V(async_iterator_symbol, Symbol.asyncIterator) \ 249 V(async_iterator_symbol, Symbol.asyncIterator) \
248 V(iterator_symbol, Symbol.iterator) \ 250 V(iterator_symbol, Symbol.iterator) \
249 V(intl_fallback_symbol, IntlFallback) \ 251 V(intl_fallback_symbol, IntlFallback) \
250 V(match_symbol, Symbol.match) \ 252 V(match_symbol, Symbol.match) \
251 V(replace_symbol, Symbol.replace) \ 253 V(replace_symbol, Symbol.replace) \
252 V(search_symbol, Symbol.search) \ 254 V(search_symbol, Symbol.search) \
253 V(species_symbol, Symbol.species) \ 255 V(species_symbol, Symbol.species) \
254 V(split_symbol, Symbol.split) \ 256 V(split_symbol, Symbol.split) \
255 V(to_primitive_symbol, Symbol.toPrimitive) \ 257 V(to_primitive_symbol, Symbol.toPrimitive) \
256 V(unscopables_symbol, Symbol.unscopables) 258 V(unscopables_symbol, Symbol.unscopables)
257 259
258 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 260 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
259 // them to produce an undefined value when a load results in a failed access 261 // them to produce an undefined value when a load results in a failed access
260 // check. Because this behaviour is not specified properly as of yet, it only 262 // check. Because this behaviour is not specified properly as of yet, it only
261 // applies to a subset of spec-defined Well-Known Symbols. 263 // applies to a subset of spec-defined Well-Known Symbols.
262 #define WELL_KNOWN_SYMBOL_LIST(V) \ 264 #define WELL_KNOWN_SYMBOL_LIST(V) \
263 V(has_instance_symbol, Symbol.hasInstance) \ 265 V(has_instance_symbol, Symbol.hasInstance) \
264 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 266 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
265 V(to_string_tag_symbol, Symbol.toStringTag) 267 V(to_string_tag_symbol, Symbol.toStringTag)
266 268
267 #endif // V8_HEAP_SYMBOLS_H_ 269 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698