diff options
Diffstat (limited to 'deps/v8/src/heap-symbols.h')
-rw-r--r-- | deps/v8/src/heap-symbols.h | 609 |
1 files changed, 323 insertions, 286 deletions
diff --git a/deps/v8/src/heap-symbols.h b/deps/v8/src/heap-symbols.h index 9f13253219..152c894796 100644 --- a/deps/v8/src/heap-symbols.h +++ b/deps/v8/src/heap-symbols.h @@ -5,298 +5,334 @@ #ifndef V8_HEAP_SYMBOLS_H_ #define V8_HEAP_SYMBOLS_H_ -#define INTERNALIZED_STRING_LIST(V) \ - V(add_string, "add") \ - V(always_string, "always") \ - V(anonymous_function_string, "(anonymous function)") \ - V(anonymous_string, "anonymous") \ - V(apply_string, "apply") \ - V(Arguments_string, "Arguments") \ - V(arguments_string, "arguments") \ - V(arguments_to_string, "[object Arguments]") \ - V(Array_string, "Array") \ - V(array_to_string, "[object Array]") \ - V(ArrayBuffer_string, "ArrayBuffer") \ - V(ArrayIterator_string, "Array Iterator") \ - V(assign_string, "assign") \ - V(async_string, "async") \ - V(auto_string, "auto") \ - V(await_string, "await") \ - V(BigInt_string, "BigInt") \ - V(bigint_string, "bigint") \ - V(BigInt64Array_string, "BigInt64Array") \ - V(BigUint64Array_string, "BigUint64Array") \ - V(bind_string, "bind") \ - V(Boolean_string, "Boolean") \ - V(boolean_string, "boolean") \ - V(boolean_to_string, "[object Boolean]") \ - V(bound__string, "bound ") \ - V(buffer_string, "buffer") \ - V(byte_length_string, "byteLength") \ - V(byte_offset_string, "byteOffset") \ - V(call_string, "call") \ - V(callee_string, "callee") \ - V(caller_string, "caller") \ - V(caseFirst_string, "caseFirst") \ - V(cell_value_string, "%cell_value") \ - V(char_at_string, "CharAt") \ - V(closure_string, "(closure)") \ - V(collation_string, "collation") \ - V(column_string, "column") \ - V(CompileError_string, "CompileError") \ - V(configurable_string, "configurable") \ - V(construct_string, "construct") \ - V(constructor_string, "constructor") \ - V(conjunction_string, "conjunction") \ - V(create_string, "create") \ - V(currency_string, "currency") \ - V(Date_string, "Date") \ - V(date_to_string, "[object Date]") \ - V(day_string, "day") \ - V(dayperiod_string, "dayperiod") \ - V(decimal_string, "decimal") \ - V(default_string, "default") \ - V(defineProperty_string, "defineProperty") \ - V(deleteProperty_string, "deleteProperty") \ - V(did_handle_string, "didHandle") \ - V(disjunction_string, "disjunction") \ - V(display_name_string, "displayName") \ - V(done_string, "done") \ - V(dot_catch_string, ".catch") \ - V(dot_for_string, ".for") \ - V(dot_generator_object_string, ".generator_object") \ - V(dot_iterator_string, ".iterator") \ - V(dot_result_string, ".result") \ - V(dot_string, ".") \ - V(dot_switch_tag_string, ".switch_tag") \ - V(dotAll_string, "dotAll") \ - V(enqueue_string, "enqueue") \ - V(entries_string, "entries") \ - V(enumerable_string, "enumerable") \ - V(element_string, "element") \ - V(era_string, "era") \ - V(Error_string, "Error") \ - V(error_to_string, "[object Error]") \ - V(eval_string, "eval") \ - V(EvalError_string, "EvalError") \ - V(exec_string, "exec") \ - V(false_string, "false") \ - V(flags_string, "flags") \ - V(Float32Array_string, "Float32Array") \ - V(Float64Array_string, "Float64Array") \ - V(fraction_string, "fraction") \ - V(Function_string, "Function") \ - V(function_native_code_string, "function () { [native code] }") \ - V(function_string, "function") \ - V(function_to_string, "[object Function]") \ - V(Generator_string, "Generator") \ - V(get_space_string, "get ") \ - V(get_string, "get") \ - V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ - V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ - V(getPrototypeOf_string, "getPrototypeOf") \ - V(global_string, "global") \ - V(globalThis_string, "globalThis") \ - V(group_string, "group") \ - V(groups_string, "groups") \ - V(has_string, "has") \ - V(hour_string, "hour") \ - V(ignoreCase_string, "ignoreCase") \ - V(ignorePunctuation_string, "ignorePunctuation") \ - V(illegal_access_string, "illegal access") \ - V(illegal_argument_string, "illegal argument") \ - V(index_string, "index") \ - V(Infinity_string, "Infinity") \ - V(infinity_string, "infinity") \ - V(input_string, "input") \ - V(Int16Array_string, "Int16Array") \ - V(Int32Array_string, "Int32Array") \ - V(Int8Array_string, "Int8Array") \ - V(integer_string, "integer") \ - V(isExtensible_string, "isExtensible") \ - V(isView_string, "isView") \ - V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ - V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ - V(keys_string, "keys") \ - V(lastIndex_string, "lastIndex") \ - V(length_string, "length") \ - V(let_string, "let") \ - V(line_string, "line") \ - V(LinkError_string, "LinkError") \ - V(literal_string, "literal") \ - V(locale_string, "locale") \ - V(long_string, "long") \ - V(Map_string, "Map") \ - V(MapIterator_string, "Map Iterator") \ - V(message_string, "message") \ - V(minus_Infinity_string, "-Infinity") \ - V(minus_zero_string, "-0") \ - V(minusSign_string, "minusSign") \ - V(minute_string, "minute") \ - V(Module_string, "Module") \ - V(month_string, "month") \ - V(multiline_string, "multiline") \ - V(name_string, "name") \ - V(NaN_string, "NaN") \ - V(nan_string, "nan") \ - V(narrow_string, "narrow") \ - V(native_string, "native") \ - V(new_target_string, ".new.target") \ - V(next_string, "next") \ - V(NFC_string, "NFC") \ - V(NFD_string, "NFD") \ - V(NFKC_string, "NFKC") \ - V(NFKD_string, "NFKD") \ - V(not_equal, "not-equal") \ - V(null_string, "null") \ - V(null_to_string, "[object Null]") \ - V(Number_string, "Number") \ - V(number_string, "number") \ - V(number_to_string, "[object Number]") \ - V(numeric_string, "numeric") \ - V(Object_string, "Object") \ - V(object_string, "object") \ - V(object_to_string, "[object Object]") \ - V(ok, "ok") \ - V(one_string, "1") \ - V(ownKeys_string, "ownKeys") \ - V(percentSign_string, "percentSign") \ - V(plusSign_string, "plusSign") \ - V(position_string, "position") \ - V(preventExtensions_string, "preventExtensions") \ - V(Promise_string, "Promise") \ - V(promise_string, "promise") \ - V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ - V(proto_string, "__proto__") \ - V(prototype_string, "prototype") \ - V(proxy_string, "proxy") \ - V(Proxy_string, "Proxy") \ - V(query_colon_string, "(?:)") \ - V(RangeError_string, "RangeError") \ - V(raw_string, "raw") \ - V(ReconfigureToDataProperty_string, "ReconfigureToDataProperty") \ - V(ReferenceError_string, "ReferenceError") \ - V(RegExp_string, "RegExp") \ - V(regexp_to_string, "[object RegExp]") \ - V(reject_string, "reject") \ - V(resolve_string, "resolve") \ - V(return_string, "return") \ - V(revoke_string, "revoke") \ - V(RuntimeError_string, "RuntimeError") \ - V(Script_string, "Script") \ - V(script_string, "script") \ - V(short_string, "short") \ - V(second_string, "second") \ - V(Set_string, "Set") \ - V(sensitivity_string, "sensitivity") \ - V(set_space_string, "set ") \ - V(set_string, "set") \ - V(SetIterator_string, "Set Iterator") \ - V(setPrototypeOf_string, "setPrototypeOf") \ - V(SharedArrayBuffer_string, "SharedArrayBuffer") \ - V(source_string, "source") \ - V(sourceText_string, "sourceText") \ - V(stack_string, "stack") \ - V(stackTraceLimit_string, "stackTraceLimit") \ - V(star_default_star_string, "*default*") \ - V(sticky_string, "sticky") \ - V(String_string, "String") \ - V(string_string, "string") \ - V(string_to_string, "[object String]") \ - V(style_string, "style") \ - V(symbol_species_string, "[Symbol.species]") \ - V(Symbol_string, "Symbol") \ - V(symbol_string, "symbol") \ - V(SyntaxError_string, "SyntaxError") \ - V(then_string, "then") \ - V(this_function_string, ".this_function") \ - V(this_string, "this") \ - V(throw_string, "throw") \ - V(timed_out, "timed-out") \ - V(timeZoneName_string, "timeZoneName") \ - V(toJSON_string, "toJSON") \ - V(toString_string, "toString") \ - V(true_string, "true") \ - V(TypeError_string, "TypeError") \ - V(type_string, "type") \ - V(Uint16Array_string, "Uint16Array") \ - V(Uint32Array_string, "Uint32Array") \ - V(Uint8Array_string, "Uint8Array") \ - V(Uint8ClampedArray_string, "Uint8ClampedArray") \ - V(undefined_string, "undefined") \ - V(undefined_to_string, "[object Undefined]") \ - V(unicode_string, "unicode") \ - V(unit_string, "unit") \ - V(URIError_string, "URIError") \ - V(usage_string, "usage") \ - V(use_asm_string, "use asm") \ - V(use_strict_string, "use strict") \ - V(value_string, "value") \ - V(valueOf_string, "valueOf") \ - V(values_string, "values") \ - V(WeakMap_string, "WeakMap") \ - V(WeakSet_string, "WeakSet") \ - V(weekday_string, "weekday") \ - V(will_handle_string, "willHandle") \ - V(writable_string, "writable") \ - V(year_string, "year") \ - V(zero_string, "0") +#ifdef V8_INTL_SUPPORT +#define INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) \ + V(_, caseFirst_string, "caseFirst") \ + V(_, day_string, "day") \ + V(_, dayPeriod_string, "dayPeriod") \ + V(_, decimal_string, "decimal") \ + V(_, era_string, "era") \ + V(_, fraction_string, "fraction") \ + V(_, group_string, "group") \ + V(_, h11_string, "h11") \ + V(_, h12_string, "h12") \ + V(_, h23_string, "h23") \ + V(_, h24_string, "h24") \ + V(_, hour_string, "hour") \ + V(_, collation_string, "collation") \ + V(_, currency_string, "currency") \ + V(_, currencyDisplay_string, "currencyDisplay") \ + V(_, ignorePunctuation_string, "ignorePunctuation") \ + V(_, integer_string, "integer") \ + V(_, literal_string, "literal") \ + V(_, locale_string, "locale") \ + V(_, lower_string, "lower") \ + V(_, maximumFractionDigits_string, "maximumFractionDigits") \ + V(_, maximumSignificantDigits_string, "maximumSignificantDigits") \ + V(_, nan_string, "nan") \ + V(_, minimumFractionDigits_string, "minimumFractionDigits") \ + V(_, minimumIntegerDigits_string, "minimumIntegerDigits") \ + V(_, minimumSignificantDigits_string, "minimumSignificantDigits") \ + V(_, minusSign_string, "minusSign") \ + V(_, minute_string, "minute") \ + V(_, month_string, "month") \ + V(_, numberingSystem_string, "numberingSystem") \ + V(_, numeric_string, "numeric") \ + V(_, percentSign_string, "percentSign") \ + V(_, plusSign_string, "plusSign") \ + V(_, quarter_string, "quarter") \ + V(_, second_string, "second") \ + V(_, sensitivity_string, "sensitivity") \ + V(_, style_string, "style") \ + V(_, timeZoneName_string, "timeZoneName") \ + V(_, type_string, "type") \ + V(_, upper_string, "upper") \ + V(_, usage_string, "usage") \ + V(_, useGrouping_string, "useGrouping") \ + V(_, unit_string, "unit") \ + V(_, weekday_string, "weekday") \ + V(_, year_string, "year") +#else // V8_INTL_SUPPORT +#define INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) +#endif // V8_INTL_SUPPORT -#define PRIVATE_SYMBOL_LIST(V) \ - V(call_site_frame_array_symbol) \ - V(call_site_frame_index_symbol) \ - V(console_context_id_symbol) \ - V(console_context_name_symbol) \ - V(class_fields_symbol) \ - V(class_positions_symbol) \ - V(detailed_stack_trace_symbol) \ - V(elements_transition_symbol) \ - V(error_end_pos_symbol) \ - V(error_script_symbol) \ - V(error_start_pos_symbol) \ - V(frozen_symbol) \ - V(generic_symbol) \ - V(home_object_symbol) \ - V(intl_initialized_marker_symbol) \ - V(intl_pattern_symbol) \ - V(intl_resolved_symbol) \ - V(interpreter_trampoline_symbol) \ - V(megamorphic_symbol) \ - V(native_context_index_symbol) \ - V(nonextensible_symbol) \ - V(not_mapped_symbol) \ - V(premonomorphic_symbol) \ - V(promise_async_stack_id_symbol) \ - V(promise_debug_marker_symbol) \ - V(promise_forwarding_handler_symbol) \ - V(promise_handled_by_symbol) \ - V(promise_async_id_symbol) \ - V(sealed_symbol) \ - V(stack_trace_symbol) \ - V(strict_function_transition_symbol) \ - V(uninitialized_symbol) +#define INTERNALIZED_STRING_LIST_GENERATOR(V, _) \ + INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) \ + V(_, add_string, "add") \ + V(_, always_string, "always") \ + V(_, anonymous_function_string, "(anonymous function)") \ + V(_, anonymous_string, "anonymous") \ + V(_, apply_string, "apply") \ + V(_, Arguments_string, "Arguments") \ + V(_, arguments_string, "arguments") \ + V(_, arguments_to_string, "[object Arguments]") \ + V(_, Array_string, "Array") \ + V(_, array_to_string, "[object Array]") \ + V(_, ArrayBuffer_string, "ArrayBuffer") \ + V(_, ArrayIterator_string, "Array Iterator") \ + V(_, assign_string, "assign") \ + V(_, async_string, "async") \ + V(_, auto_string, "auto") \ + V(_, await_string, "await") \ + V(_, BigInt_string, "BigInt") \ + V(_, bigint_string, "bigint") \ + V(_, BigInt64Array_string, "BigInt64Array") \ + V(_, BigUint64Array_string, "BigUint64Array") \ + V(_, bind_string, "bind") \ + V(_, Boolean_string, "Boolean") \ + V(_, boolean_string, "boolean") \ + V(_, boolean_to_string, "[object Boolean]") \ + V(_, bound__string, "bound ") \ + V(_, buffer_string, "buffer") \ + V(_, byte_length_string, "byteLength") \ + V(_, byte_offset_string, "byteOffset") \ + V(_, call_string, "call") \ + V(_, callee_string, "callee") \ + V(_, caller_string, "caller") \ + V(_, cell_value_string, "%cell_value") \ + V(_, char_at_string, "CharAt") \ + V(_, character_string, "character") \ + V(_, closure_string, "(closure)") \ + V(_, code_string, "code") \ + V(_, column_string, "column") \ + V(_, CompileError_string, "CompileError") \ + V(_, configurable_string, "configurable") \ + V(_, construct_string, "construct") \ + V(_, constructor_string, "constructor") \ + V(_, conjunction_string, "conjunction") \ + V(_, create_string, "create") \ + V(_, Date_string, "Date") \ + V(_, date_to_string, "[object Date]") \ + V(_, default_string, "default") \ + V(_, defineProperty_string, "defineProperty") \ + V(_, deleteProperty_string, "deleteProperty") \ + V(_, did_handle_string, "didHandle") \ + V(_, disjunction_string, "disjunction") \ + V(_, display_name_string, "displayName") \ + V(_, done_string, "done") \ + V(_, dot_catch_string, ".catch") \ + V(_, dot_for_string, ".for") \ + V(_, dot_generator_object_string, ".generator_object") \ + V(_, dot_iterator_string, ".iterator") \ + V(_, dot_promise_string, ".promise") \ + V(_, dot_result_string, ".result") \ + V(_, dot_string, ".") \ + V(_, dot_switch_tag_string, ".switch_tag") \ + V(_, dotAll_string, "dotAll") \ + V(_, enqueue_string, "enqueue") \ + V(_, entries_string, "entries") \ + V(_, enumerable_string, "enumerable") \ + V(_, element_string, "element") \ + V(_, Error_string, "Error") \ + V(_, error_to_string, "[object Error]") \ + V(_, eval_string, "eval") \ + V(_, EvalError_string, "EvalError") \ + V(_, exec_string, "exec") \ + V(_, false_string, "false") \ + V(_, flags_string, "flags") \ + V(_, Float32Array_string, "Float32Array") \ + V(_, Float64Array_string, "Float64Array") \ + V(_, Function_string, "Function") \ + V(_, function_native_code_string, "function () { [native code] }") \ + V(_, function_string, "function") \ + V(_, function_to_string, "[object Function]") \ + V(_, Generator_string, "Generator") \ + V(_, get_space_string, "get ") \ + V(_, get_string, "get") \ + V(_, getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ + V(_, getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ + V(_, getPrototypeOf_string, "getPrototypeOf") \ + V(_, global_string, "global") \ + V(_, globalThis_string, "globalThis") \ + V(_, granularity_string, "granularity") \ + V(_, grapheme_string, "grapheme") \ + V(_, groups_string, "groups") \ + V(_, has_string, "has") \ + V(_, ignoreCase_string, "ignoreCase") \ + V(_, illegal_access_string, "illegal access") \ + V(_, illegal_argument_string, "illegal argument") \ + V(_, index_string, "index") \ + V(_, Infinity_string, "Infinity") \ + V(_, infinity_string, "infinity") \ + V(_, input_string, "input") \ + V(_, Int16Array_string, "Int16Array") \ + V(_, Int32Array_string, "Int32Array") \ + V(_, Int8Array_string, "Int8Array") \ + V(_, isExtensible_string, "isExtensible") \ + V(_, isView_string, "isView") \ + V(_, KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ + V(_, KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ + V(_, keys_string, "keys") \ + V(_, lastIndex_string, "lastIndex") \ + V(_, length_string, "length") \ + V(_, let_string, "let") \ + V(_, lineBreakStyle_string, "lineBreakStyle") \ + V(_, line_string, "line") \ + V(_, LinkError_string, "LinkError") \ + V(_, long_string, "long") \ + V(_, loose_string, "loose") \ + V(_, Map_string, "Map") \ + V(_, MapIterator_string, "Map Iterator") \ + V(_, message_string, "message") \ + V(_, minus_Infinity_string, "-Infinity") \ + V(_, minus_zero_string, "-0") \ + V(_, Module_string, "Module") \ + V(_, multiline_string, "multiline") \ + V(_, name_string, "name") \ + V(_, NaN_string, "NaN") \ + V(_, narrow_string, "narrow") \ + V(_, native_string, "native") \ + V(_, new_target_string, ".new.target") \ + V(_, next_string, "next") \ + V(_, NFC_string, "NFC") \ + V(_, NFD_string, "NFD") \ + V(_, NFKC_string, "NFKC") \ + V(_, NFKD_string, "NFKD") \ + V(_, not_equal, "not-equal") \ + V(_, normal_string, "normal") \ + V(_, null_string, "null") \ + V(_, null_to_string, "[object Null]") \ + V(_, Number_string, "Number") \ + V(_, number_string, "number") \ + V(_, number_to_string, "[object Number]") \ + V(_, Object_string, "Object") \ + V(_, object_string, "object") \ + V(_, object_to_string, "[object Object]") \ + V(_, ok, "ok") \ + V(_, one_string, "1") \ + V(_, ownKeys_string, "ownKeys") \ + V(_, percent_string, "percent") \ + V(_, position_string, "position") \ + V(_, preventExtensions_string, "preventExtensions") \ + V(_, Promise_string, "Promise") \ + V(_, promise_string, "promise") \ + V(_, PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ + V(_, proto_string, "__proto__") \ + V(_, prototype_string, "prototype") \ + V(_, proxy_string, "proxy") \ + V(_, Proxy_string, "Proxy") \ + V(_, query_colon_string, "(?:)") \ + V(_, RangeError_string, "RangeError") \ + V(_, raw_string, "raw") \ + V(_, ReconfigureToDataProperty_string, "ReconfigureToDataProperty") \ + V(_, ReferenceError_string, "ReferenceError") \ + V(_, RegExp_string, "RegExp") \ + V(_, regexp_to_string, "[object RegExp]") \ + V(_, reject_string, "reject") \ + V(_, resolve_string, "resolve") \ + V(_, return_string, "return") \ + V(_, revoke_string, "revoke") \ + V(_, RuntimeError_string, "RuntimeError") \ + V(_, Script_string, "Script") \ + V(_, script_string, "script") \ + V(_, short_string, "short") \ + V(_, Set_string, "Set") \ + V(_, sentence_string, "sentence") \ + V(_, set_space_string, "set ") \ + V(_, set_string, "set") \ + V(_, SetIterator_string, "Set Iterator") \ + V(_, setPrototypeOf_string, "setPrototypeOf") \ + V(_, SharedArrayBuffer_string, "SharedArrayBuffer") \ + V(_, source_string, "source") \ + V(_, sourceText_string, "sourceText") \ + V(_, stack_string, "stack") \ + V(_, stackTraceLimit_string, "stackTraceLimit") \ + V(_, star_default_star_string, "*default*") \ + V(_, sticky_string, "sticky") \ + V(_, strict_string, "strict") \ + V(_, String_string, "String") \ + V(_, string_string, "string") \ + V(_, string_to_string, "[object String]") \ + V(_, symbol_species_string, "[Symbol.species]") \ + V(_, Symbol_string, "Symbol") \ + V(_, symbol_string, "symbol") \ + V(_, SyntaxError_string, "SyntaxError") \ + V(_, then_string, "then") \ + V(_, this_function_string, ".this_function") \ + V(_, this_string, "this") \ + V(_, throw_string, "throw") \ + V(_, timed_out, "timed-out") \ + V(_, toJSON_string, "toJSON") \ + V(_, toString_string, "toString") \ + V(_, true_string, "true") \ + V(_, TypeError_string, "TypeError") \ + V(_, Uint16Array_string, "Uint16Array") \ + V(_, Uint32Array_string, "Uint32Array") \ + V(_, Uint8Array_string, "Uint8Array") \ + V(_, Uint8ClampedArray_string, "Uint8ClampedArray") \ + V(_, undefined_string, "undefined") \ + V(_, undefined_to_string, "[object Undefined]") \ + V(_, unicode_string, "unicode") \ + V(_, URIError_string, "URIError") \ + V(_, use_asm_string, "use asm") \ + V(_, use_strict_string, "use strict") \ + V(_, value_string, "value") \ + V(_, valueOf_string, "valueOf") \ + V(_, values_string, "values") \ + V(_, WeakMap_string, "WeakMap") \ + V(_, WeakSet_string, "WeakSet") \ + V(_, week_string, "week") \ + V(_, will_handle_string, "willHandle") \ + V(_, word_string, "word") \ + V(_, writable_string, "writable") \ + V(_, zero_string, "0") -#define PUBLIC_SYMBOL_LIST(V) \ - V(async_iterator_symbol, Symbol.asyncIterator) \ - V(iterator_symbol, Symbol.iterator) \ - V(intl_fallback_symbol, IntlFallback) \ - V(match_all_symbol, Symbol.matchAll) \ - V(match_symbol, Symbol.match) \ - V(replace_symbol, Symbol.replace) \ - V(search_symbol, Symbol.search) \ - V(species_symbol, Symbol.species) \ - V(split_symbol, Symbol.split) \ - V(to_primitive_symbol, Symbol.toPrimitive) \ - V(unscopables_symbol, Symbol.unscopables) +#define PRIVATE_SYMBOL_LIST_GENERATOR(V, _) \ + V(_, call_site_frame_array_symbol) \ + V(_, call_site_frame_index_symbol) \ + V(_, console_context_id_symbol) \ + V(_, console_context_name_symbol) \ + V(_, class_fields_symbol) \ + V(_, class_positions_symbol) \ + V(_, detailed_stack_trace_symbol) \ + V(_, elements_transition_symbol) \ + V(_, error_end_pos_symbol) \ + V(_, error_script_symbol) \ + V(_, error_start_pos_symbol) \ + V(_, frozen_symbol) \ + V(_, generic_symbol) \ + V(_, home_object_symbol) \ + V(_, intl_initialized_marker_symbol) \ + V(_, intl_resolved_symbol) \ + V(_, interpreter_trampoline_symbol) \ + V(_, megamorphic_symbol) \ + V(_, native_context_index_symbol) \ + V(_, nonextensible_symbol) \ + V(_, not_mapped_symbol) \ + V(_, premonomorphic_symbol) \ + V(_, promise_async_stack_id_symbol) \ + V(_, promise_debug_marker_symbol) \ + V(_, promise_forwarding_handler_symbol) \ + V(_, promise_handled_by_symbol) \ + V(_, promise_async_id_symbol) \ + V(_, sealed_symbol) \ + V(_, stack_trace_symbol) \ + V(_, strict_function_transition_symbol) \ + V(_, wasm_exception_tag_symbol) \ + V(_, wasm_exception_values_symbol) \ + V(_, uninitialized_symbol) + +#define PUBLIC_SYMBOL_LIST_GENERATOR(V, _) \ + V(_, async_iterator_symbol, Symbol.asyncIterator) \ + V(_, iterator_symbol, Symbol.iterator) \ + V(_, intl_fallback_symbol, IntlFallback) \ + V(_, match_all_symbol, Symbol.matchAll) \ + V(_, match_symbol, Symbol.match) \ + V(_, replace_symbol, Symbol.replace) \ + V(_, search_symbol, Symbol.search) \ + V(_, species_symbol, Symbol.species) \ + V(_, split_symbol, Symbol.split) \ + V(_, to_primitive_symbol, Symbol.toPrimitive) \ + V(_, unscopables_symbol, Symbol.unscopables) // Well-Known Symbols are "Public" symbols, which have a bit set which causes // them to produce an undefined value when a load results in a failed access // check. Because this behaviour is not specified properly as of yet, it only // applies to a subset of spec-defined Well-Known Symbols. -#define WELL_KNOWN_SYMBOL_LIST(V) \ - V(has_instance_symbol, Symbol.hasInstance) \ - V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ - V(to_string_tag_symbol, Symbol.toStringTag) +#define WELL_KNOWN_SYMBOL_LIST_GENERATOR(V, _) \ + V(_, has_instance_symbol, Symbol.hasInstance) \ + V(_, is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ + V(_, to_string_tag_symbol, Symbol.toStringTag) #define INCREMENTAL_SCOPES(F) \ /* MC_INCREMENTAL is the top-level incremental marking scope. */ \ @@ -394,7 +430,8 @@ F(SCAVENGER_SCAVENGE_PARALLEL) \ F(SCAVENGER_SCAVENGE_ROOTS) \ F(SCAVENGER_SCAVENGE_UPDATE_REFS) \ - F(SCAVENGER_SCAVENGE_WEAK) + F(SCAVENGER_SCAVENGE_WEAK) \ + F(SCAVENGER_SCAVENGE_FINALIZE) #define TRACER_BACKGROUND_SCOPES(F) \ F(BACKGROUND_ARRAY_BUFFER_FREE) \ |