From 43b4e4241509e1f292cb2c1b795b8a842ed07f71 Mon Sep 17 00:00:00 2001 From: Shu-yu Guo Date: Wed, 7 Sep 2022 11:29:26 -0700 Subject: [PATCH] [rab/gsab] Remove unused string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: v8:11111 Change-Id: I4af1cc85a15833c360a5a454f8d36f43840232ad Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3878254 Reviewed-by: Marja Hölttä Auto-Submit: Shu-yu Guo Commit-Queue: Marja Hölttä Cr-Commit-Position: refs/heads/main@{#83052} --- src/init/heap-symbols.h | 595 ++++++++++++++++++++-------------------- tools/v8heapconst.py | 140 +++++----- 2 files changed, 367 insertions(+), 368 deletions(-) diff --git a/src/init/heap-symbols.h b/src/init/heap-symbols.h index 1f120996bd..10312ccc4b 100644 --- a/src/init/heap-symbols.h +++ b/src/init/heap-symbols.h @@ -139,304 +139,303 @@ #define INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) #endif // V8_INTL_SUPPORT -#define INTERNALIZED_STRING_LIST_GENERATOR(V, _) \ - INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) \ - V(_, add_string, "add") \ - V(_, AggregateError_string, "AggregateError") \ - 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(_, as_string, "as") \ - V(_, assert_string, "assert") \ - 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(_, blank_string, "blank") \ - 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(_, CompileError_string, "CompileError") \ - V(_, calendar_string, "calendar") \ - V(_, callee_string, "callee") \ - V(_, caller_string, "caller") \ - V(_, cause_string, "cause") \ - V(_, character_string, "character") \ - V(_, closure_string, "(closure)") \ - V(_, code_string, "code") \ - V(_, column_string, "column") \ - V(_, computed_string, "") \ - V(_, configurable_string, "configurable") \ - V(_, conjunction_string, "conjunction") \ - V(_, console_string, "console") \ - V(_, constrain_string, "constrain") \ - V(_, construct_string, "construct") \ - V(_, current_string, "current") \ - V(_, Date_string, "Date") \ - V(_, date_to_string, "[object Date]") \ - V(_, dateAdd_string, "dateAdd") \ - V(_, dateFromFields_string, "dateFromFields") \ - V(_, dateUntil_string, "dateUntil") \ - V(_, day_string, "day") \ - V(_, dayOfWeek_string, "dayOfWeek") \ - V(_, dayOfYear_string, "dayOfYear") \ - V(_, days_string, "days") \ - V(_, daysInMonth_string, "daysInMonth") \ - V(_, daysInWeek_string, "daysInWeek") \ - V(_, daysInYear_string, "daysInYear") \ - V(_, default_string, "default") \ - V(_, defineProperty_string, "defineProperty") \ - V(_, deleteProperty_string, "deleteProperty") \ - V(_, disjunction_string, "disjunction") \ - V(_, done_string, "done") \ - V(_, dot_brand_string, ".brand") \ - V(_, dot_catch_string, ".catch") \ - V(_, dot_default_string, ".default") \ - V(_, dot_for_string, ".for") \ - V(_, dot_generator_object_string, ".generator_object") \ - V(_, dot_home_object_string, ".home_object") \ - V(_, dot_result_string, ".result") \ - V(_, dot_repl_result_string, ".repl_result") \ - V(_, dot_static_home_object_string, ".static_home_object") \ - V(_, dot_string, ".") \ - V(_, dot_switch_tag_string, ".switch_tag") \ - V(_, dotAll_string, "dotAll") \ - V(_, Error_string, "Error") \ - V(_, EvalError_string, "EvalError") \ - V(_, enumerable_string, "enumerable") \ - V(_, element_string, "element") \ - V(_, epochMicroseconds_string, "epochMicroseconds") \ - V(_, epochMilliseconds_string, "epochMilliseconds") \ - V(_, epochNanoseconds_string, "epochNanoseconds") \ - V(_, epochSeconds_string, "epochSeconds") \ - V(_, era_string, "era") \ - V(_, eraYear_string, "eraYear") \ - V(_, errors_string, "errors") \ - V(_, error_to_string, "[object Error]") \ - V(_, eval_string, "eval") \ - V(_, exception_string, "exception") \ - V(_, exec_string, "exec") \ - V(_, false_string, "false") \ - V(_, fields_string, "fields") \ - V(_, FinalizationRegistry_string, "FinalizationRegistry") \ - V(_, flags_string, "flags") \ - V(_, Float32Array_string, "Float32Array") \ - V(_, Float64Array_string, "Float64Array") \ - V(_, fractionalSecondDigits_string, "fractionalSecondDigits") \ - V(_, from_string, "from") \ - 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(_, getOffsetNanosecondsFor_string, "getOffsetNanosecondsFor") \ - V(_, getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ - V(_, getPossibleInstantsFor_string, "getPossibleInstantsFor") \ - V(_, getPrototypeOf_string, "getPrototypeOf") \ - V(_, global_string, "global") \ - V(_, globalThis_string, "globalThis") \ - V(_, groups_string, "groups") \ - V(_, growable_string, "growable") \ - V(_, GrowableSharedArrayBuffer_string, "GrowableSharedArrayBuffer") \ - V(_, has_string, "has") \ - V(_, hasIndices_string, "hasIndices") \ - V(_, hour_string, "hour") \ - V(_, hours_string, "hours") \ - V(_, hoursInDay_string, "hoursInDay") \ - V(_, ignoreCase_string, "ignoreCase") \ - V(_, id_string, "id") \ - V(_, illegal_access_string, "illegal access") \ - V(_, illegal_argument_string, "illegal argument") \ - V(_, inLeapYear_string, "inLeapYear") \ - V(_, index_string, "index") \ - V(_, indices_string, "indices") \ - 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(_, iso8601_string, "iso8601") \ - V(_, isoDay_string, "isoDay") \ - V(_, isoHour_string, "isoHour") \ - V(_, isoMicrosecond_string, "isoMicrosecond") \ - V(_, isoMillisecond_string, "isoMillisecond") \ - V(_, isoMinute_string, "isoMinute") \ - V(_, isoMonth_string, "isoMonth") \ - V(_, isoNanosecond_string, "isoNanosecond") \ - V(_, isoSecond_string, "isoSecond") \ - V(_, isoYear_string, "isoYear") \ - V(_, jsMemoryEstimate_string, "jsMemoryEstimate") \ - V(_, jsMemoryRange_string, "jsMemoryRange") \ - V(_, keys_string, "keys") \ - V(_, largestUnit_string, "largestUnit") \ - V(_, lastIndex_string, "lastIndex") \ - V(_, length_string, "length") \ - V(_, let_string, "let") \ - V(_, line_string, "line") \ - V(_, linear_string, "linear") \ - V(_, LinkError_string, "LinkError") \ - V(_, long_string, "long") \ - V(_, Map_string, "Map") \ - V(_, MapIterator_string, "Map Iterator") \ - V(_, max_byte_length_string, "maxByteLength") \ - V(_, medium_string, "medium") \ - V(_, mergeFields_string, "mergeFields") \ - V(_, message_string, "message") \ - V(_, meta_string, "meta") \ - V(_, minus_Infinity_string, "-Infinity") \ - V(_, microsecond_string, "microsecond") \ - V(_, microseconds_string, "microseconds") \ - V(_, millisecond_string, "millisecond") \ - V(_, milliseconds_string, "milliseconds") \ - V(_, minute_string, "minute") \ - V(_, minutes_string, "minutes") \ - V(_, Module_string, "Module") \ - V(_, month_string, "month") \ - V(_, monthDayFromFields_string, "monthDayFromFields") \ - V(_, months_string, "months") \ - V(_, monthsInYear_string, "monthsInYear") \ - V(_, monthCode_string, "monthCode") \ - V(_, multiline_string, "multiline") \ - V(_, name_string, "name") \ - V(_, NaN_string, "NaN") \ - V(_, nanosecond_string, "nanosecond") \ - V(_, nanoseconds_string, "nanoseconds") \ - V(_, narrow_string, "narrow") \ - V(_, native_string, "native") \ - V(_, new_target_string, ".new.target") \ - V(_, NFC_string, "NFC") \ - V(_, NFD_string, "NFD") \ - V(_, NFKC_string, "NFKC") \ - V(_, NFKD_string, "NFKD") \ - V(_, not_equal_string, "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(_, Object_string, "Object") \ - V(_, object_string, "object") \ - V(_, object_to_string, "[object Object]") \ - V(_, of_string, "of") \ - V(_, offset_string, "offset") \ - V(_, offsetNanoseconds_string, "offsetNanoseconds") \ - V(_, ok_string, "ok") \ - V(_, one_string, "1") \ - V(_, other_string, "other") \ - V(_, overflow_string, "overflow") \ - V(_, ownKeys_string, "ownKeys") \ - V(_, percent_string, "percent") \ - V(_, plainDate_string, "plainDate") \ - V(_, plainTime_string, "plainTime") \ - V(_, position_string, "position") \ - V(_, preventExtensions_string, "preventExtensions") \ - V(_, private_constructor_string, "#constructor") \ - V(_, Promise_string, "Promise") \ - 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(_, ReferenceError_string, "ReferenceError") \ - V(_, ReflectGet_string, "Reflect.get") \ - V(_, ReflectHas_string, "Reflect.has") \ - V(_, RegExp_string, "RegExp") \ - V(_, regexp_to_string, "[object RegExp]") \ - V(_, reject_string, "reject") \ - V(_, relativeTo_string, "relativeTo") \ - V(_, resizable_string, "resizable") \ - V(_, ResizableArrayBuffer_string, "ResizableArrayBuffer") \ - V(_, return_string, "return") \ - V(_, revoke_string, "revoke") \ - V(_, roundingIncrement_string, "roundingIncrement") \ - V(_, RuntimeError_string, "RuntimeError") \ - V(_, WebAssemblyException_string, "WebAssembly.Exception") \ - V(_, Script_string, "Script") \ - V(_, script_string, "script") \ - V(_, second_string, "second") \ - V(_, seconds_string, "seconds") \ - 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(_, ShadowRealm_string, "ShadowRealm") \ - V(_, SharedArrayBuffer_string, "SharedArrayBuffer") \ - V(_, sign_string, "sign") \ - V(_, smallestUnit_string, "smallestUnit") \ - V(_, source_string, "source") \ - V(_, sourceText_string, "sourceText") \ - V(_, stack_string, "stack") \ - V(_, stackTraceLimit_string, "stackTraceLimit") \ - V(_, sticky_string, "sticky") \ - V(_, String_string, "String") \ - V(_, string_string, "string") \ - V(_, string_to_string, "[object String]") \ - V(_, Symbol_iterator_string, "Symbol.iterator") \ - V(_, symbol_species_string, "[Symbol.species]") \ - V(_, Symbol_species_string, "Symbol.species") \ - V(_, Symbol_string, "Symbol") \ - V(_, symbol_string, "symbol") \ - V(_, SyntaxError_string, "SyntaxError") \ - V(_, target_string, "target") \ - V(_, this_function_string, ".this_function") \ - V(_, this_string, "this") \ - V(_, throw_string, "throw") \ - V(_, timed_out_string, "timed-out") \ - V(_, timeZone_string, "timeZone") \ - V(_, toJSON_string, "toJSON") \ - V(_, toString_string, "toString") \ - V(_, true_string, "true") \ - V(_, total_string, "total") \ - 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(_, unicodeSets_string, "unicodeSets") \ - V(_, unit_string, "unit") \ - V(_, URIError_string, "URIError") \ - V(_, UTC_string, "UTC") \ - V(_, value_string, "value") \ - V(_, valueOf_string, "valueOf") \ - V(_, WeakMap_string, "WeakMap") \ - V(_, WeakRef_string, "WeakRef") \ - V(_, WeakSet_string, "WeakSet") \ - V(_, week_string, "week") \ - V(_, weeks_string, "weeks") \ - V(_, weekOfYear_string, "weekOfYear") \ - V(_, word_string, "word") \ - V(_, writable_string, "writable") \ - V(_, yearMonthFromFields_string, "yearMonthFromFields") \ - V(_, year_string, "year") \ - V(_, years_string, "years") \ +#define INTERNALIZED_STRING_LIST_GENERATOR(V, _) \ + INTERNALIZED_STRING_LIST_GENERATOR_INTL(V, _) \ + V(_, add_string, "add") \ + V(_, AggregateError_string, "AggregateError") \ + 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(_, as_string, "as") \ + V(_, assert_string, "assert") \ + 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(_, blank_string, "blank") \ + 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(_, CompileError_string, "CompileError") \ + V(_, calendar_string, "calendar") \ + V(_, callee_string, "callee") \ + V(_, caller_string, "caller") \ + V(_, cause_string, "cause") \ + V(_, character_string, "character") \ + V(_, closure_string, "(closure)") \ + V(_, code_string, "code") \ + V(_, column_string, "column") \ + V(_, computed_string, "") \ + V(_, configurable_string, "configurable") \ + V(_, conjunction_string, "conjunction") \ + V(_, console_string, "console") \ + V(_, constrain_string, "constrain") \ + V(_, construct_string, "construct") \ + V(_, current_string, "current") \ + V(_, Date_string, "Date") \ + V(_, date_to_string, "[object Date]") \ + V(_, dateAdd_string, "dateAdd") \ + V(_, dateFromFields_string, "dateFromFields") \ + V(_, dateUntil_string, "dateUntil") \ + V(_, day_string, "day") \ + V(_, dayOfWeek_string, "dayOfWeek") \ + V(_, dayOfYear_string, "dayOfYear") \ + V(_, days_string, "days") \ + V(_, daysInMonth_string, "daysInMonth") \ + V(_, daysInWeek_string, "daysInWeek") \ + V(_, daysInYear_string, "daysInYear") \ + V(_, default_string, "default") \ + V(_, defineProperty_string, "defineProperty") \ + V(_, deleteProperty_string, "deleteProperty") \ + V(_, disjunction_string, "disjunction") \ + V(_, done_string, "done") \ + V(_, dot_brand_string, ".brand") \ + V(_, dot_catch_string, ".catch") \ + V(_, dot_default_string, ".default") \ + V(_, dot_for_string, ".for") \ + V(_, dot_generator_object_string, ".generator_object") \ + V(_, dot_home_object_string, ".home_object") \ + V(_, dot_result_string, ".result") \ + V(_, dot_repl_result_string, ".repl_result") \ + V(_, dot_static_home_object_string, ".static_home_object") \ + V(_, dot_string, ".") \ + V(_, dot_switch_tag_string, ".switch_tag") \ + V(_, dotAll_string, "dotAll") \ + V(_, Error_string, "Error") \ + V(_, EvalError_string, "EvalError") \ + V(_, enumerable_string, "enumerable") \ + V(_, element_string, "element") \ + V(_, epochMicroseconds_string, "epochMicroseconds") \ + V(_, epochMilliseconds_string, "epochMilliseconds") \ + V(_, epochNanoseconds_string, "epochNanoseconds") \ + V(_, epochSeconds_string, "epochSeconds") \ + V(_, era_string, "era") \ + V(_, eraYear_string, "eraYear") \ + V(_, errors_string, "errors") \ + V(_, error_to_string, "[object Error]") \ + V(_, eval_string, "eval") \ + V(_, exception_string, "exception") \ + V(_, exec_string, "exec") \ + V(_, false_string, "false") \ + V(_, fields_string, "fields") \ + V(_, FinalizationRegistry_string, "FinalizationRegistry") \ + V(_, flags_string, "flags") \ + V(_, Float32Array_string, "Float32Array") \ + V(_, Float64Array_string, "Float64Array") \ + V(_, fractionalSecondDigits_string, "fractionalSecondDigits") \ + V(_, from_string, "from") \ + 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(_, getOffsetNanosecondsFor_string, "getOffsetNanosecondsFor") \ + V(_, getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ + V(_, getPossibleInstantsFor_string, "getPossibleInstantsFor") \ + V(_, getPrototypeOf_string, "getPrototypeOf") \ + V(_, global_string, "global") \ + V(_, globalThis_string, "globalThis") \ + V(_, groups_string, "groups") \ + V(_, growable_string, "growable") \ + V(_, has_string, "has") \ + V(_, hasIndices_string, "hasIndices") \ + V(_, hour_string, "hour") \ + V(_, hours_string, "hours") \ + V(_, hoursInDay_string, "hoursInDay") \ + V(_, ignoreCase_string, "ignoreCase") \ + V(_, id_string, "id") \ + V(_, illegal_access_string, "illegal access") \ + V(_, illegal_argument_string, "illegal argument") \ + V(_, inLeapYear_string, "inLeapYear") \ + V(_, index_string, "index") \ + V(_, indices_string, "indices") \ + 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(_, iso8601_string, "iso8601") \ + V(_, isoDay_string, "isoDay") \ + V(_, isoHour_string, "isoHour") \ + V(_, isoMicrosecond_string, "isoMicrosecond") \ + V(_, isoMillisecond_string, "isoMillisecond") \ + V(_, isoMinute_string, "isoMinute") \ + V(_, isoMonth_string, "isoMonth") \ + V(_, isoNanosecond_string, "isoNanosecond") \ + V(_, isoSecond_string, "isoSecond") \ + V(_, isoYear_string, "isoYear") \ + V(_, jsMemoryEstimate_string, "jsMemoryEstimate") \ + V(_, jsMemoryRange_string, "jsMemoryRange") \ + V(_, keys_string, "keys") \ + V(_, largestUnit_string, "largestUnit") \ + V(_, lastIndex_string, "lastIndex") \ + V(_, length_string, "length") \ + V(_, let_string, "let") \ + V(_, line_string, "line") \ + V(_, linear_string, "linear") \ + V(_, LinkError_string, "LinkError") \ + V(_, long_string, "long") \ + V(_, Map_string, "Map") \ + V(_, MapIterator_string, "Map Iterator") \ + V(_, max_byte_length_string, "maxByteLength") \ + V(_, medium_string, "medium") \ + V(_, mergeFields_string, "mergeFields") \ + V(_, message_string, "message") \ + V(_, meta_string, "meta") \ + V(_, minus_Infinity_string, "-Infinity") \ + V(_, microsecond_string, "microsecond") \ + V(_, microseconds_string, "microseconds") \ + V(_, millisecond_string, "millisecond") \ + V(_, milliseconds_string, "milliseconds") \ + V(_, minute_string, "minute") \ + V(_, minutes_string, "minutes") \ + V(_, Module_string, "Module") \ + V(_, month_string, "month") \ + V(_, monthDayFromFields_string, "monthDayFromFields") \ + V(_, months_string, "months") \ + V(_, monthsInYear_string, "monthsInYear") \ + V(_, monthCode_string, "monthCode") \ + V(_, multiline_string, "multiline") \ + V(_, name_string, "name") \ + V(_, NaN_string, "NaN") \ + V(_, nanosecond_string, "nanosecond") \ + V(_, nanoseconds_string, "nanoseconds") \ + V(_, narrow_string, "narrow") \ + V(_, native_string, "native") \ + V(_, new_target_string, ".new.target") \ + V(_, NFC_string, "NFC") \ + V(_, NFD_string, "NFD") \ + V(_, NFKC_string, "NFKC") \ + V(_, NFKD_string, "NFKD") \ + V(_, not_equal_string, "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(_, Object_string, "Object") \ + V(_, object_string, "object") \ + V(_, object_to_string, "[object Object]") \ + V(_, of_string, "of") \ + V(_, offset_string, "offset") \ + V(_, offsetNanoseconds_string, "offsetNanoseconds") \ + V(_, ok_string, "ok") \ + V(_, one_string, "1") \ + V(_, other_string, "other") \ + V(_, overflow_string, "overflow") \ + V(_, ownKeys_string, "ownKeys") \ + V(_, percent_string, "percent") \ + V(_, plainDate_string, "plainDate") \ + V(_, plainTime_string, "plainTime") \ + V(_, position_string, "position") \ + V(_, preventExtensions_string, "preventExtensions") \ + V(_, private_constructor_string, "#constructor") \ + V(_, Promise_string, "Promise") \ + 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(_, ReferenceError_string, "ReferenceError") \ + V(_, ReflectGet_string, "Reflect.get") \ + V(_, ReflectHas_string, "Reflect.has") \ + V(_, RegExp_string, "RegExp") \ + V(_, regexp_to_string, "[object RegExp]") \ + V(_, reject_string, "reject") \ + V(_, relativeTo_string, "relativeTo") \ + V(_, resizable_string, "resizable") \ + V(_, ResizableArrayBuffer_string, "ResizableArrayBuffer") \ + V(_, return_string, "return") \ + V(_, revoke_string, "revoke") \ + V(_, roundingIncrement_string, "roundingIncrement") \ + V(_, RuntimeError_string, "RuntimeError") \ + V(_, WebAssemblyException_string, "WebAssembly.Exception") \ + V(_, Script_string, "Script") \ + V(_, script_string, "script") \ + V(_, second_string, "second") \ + V(_, seconds_string, "seconds") \ + 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(_, ShadowRealm_string, "ShadowRealm") \ + V(_, SharedArrayBuffer_string, "SharedArrayBuffer") \ + V(_, sign_string, "sign") \ + V(_, smallestUnit_string, "smallestUnit") \ + V(_, source_string, "source") \ + V(_, sourceText_string, "sourceText") \ + V(_, stack_string, "stack") \ + V(_, stackTraceLimit_string, "stackTraceLimit") \ + V(_, sticky_string, "sticky") \ + V(_, String_string, "String") \ + V(_, string_string, "string") \ + V(_, string_to_string, "[object String]") \ + V(_, Symbol_iterator_string, "Symbol.iterator") \ + V(_, symbol_species_string, "[Symbol.species]") \ + V(_, Symbol_species_string, "Symbol.species") \ + V(_, Symbol_string, "Symbol") \ + V(_, symbol_string, "symbol") \ + V(_, SyntaxError_string, "SyntaxError") \ + V(_, target_string, "target") \ + V(_, this_function_string, ".this_function") \ + V(_, this_string, "this") \ + V(_, throw_string, "throw") \ + V(_, timed_out_string, "timed-out") \ + V(_, timeZone_string, "timeZone") \ + V(_, toJSON_string, "toJSON") \ + V(_, toString_string, "toString") \ + V(_, true_string, "true") \ + V(_, total_string, "total") \ + 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(_, unicodeSets_string, "unicodeSets") \ + V(_, unit_string, "unit") \ + V(_, URIError_string, "URIError") \ + V(_, UTC_string, "UTC") \ + V(_, value_string, "value") \ + V(_, valueOf_string, "valueOf") \ + V(_, WeakMap_string, "WeakMap") \ + V(_, WeakRef_string, "WeakRef") \ + V(_, WeakSet_string, "WeakSet") \ + V(_, week_string, "week") \ + V(_, weeks_string, "weeks") \ + V(_, weekOfYear_string, "weekOfYear") \ + V(_, word_string, "word") \ + V(_, writable_string, "writable") \ + V(_, yearMonthFromFields_string, "yearMonthFromFields") \ + V(_, year_string, "year") \ + V(_, years_string, "years") \ V(_, zero_string, "0") #define PRIVATE_SYMBOL_LIST_GENERATOR(V, _) \ diff --git a/tools/v8heapconst.py b/tools/v8heapconst.py index 19ddeb9b2e..42d72af3a1 100644 --- a/tools/v8heapconst.py +++ b/tools/v8heapconst.py @@ -393,76 +393,76 @@ KNOWN_MAPS = { ("read_only_space", 0x03491): (131, "BasicBlockCountersMarkerMap"), ("read_only_space", 0x034d5): (146, "ArrayBoilerplateDescriptionMap"), ("read_only_space", 0x035d5): (159, "InterceptorInfoMap"), - ("read_only_space", 0x07411): (132, "PromiseFulfillReactionJobTaskMap"), - ("read_only_space", 0x07439): (133, "PromiseRejectReactionJobTaskMap"), - ("read_only_space", 0x07461): (134, "CallableTaskMap"), - ("read_only_space", 0x07489): (135, "CallbackTaskMap"), - ("read_only_space", 0x074b1): (136, "PromiseResolveThenableJobTaskMap"), - ("read_only_space", 0x074d9): (139, "FunctionTemplateInfoMap"), - ("read_only_space", 0x07501): (140, "ObjectTemplateInfoMap"), - ("read_only_space", 0x07529): (141, "AccessCheckInfoMap"), - ("read_only_space", 0x07551): (142, "AccessorPairMap"), - ("read_only_space", 0x07579): (143, "AliasedArgumentsEntryMap"), - ("read_only_space", 0x075a1): (144, "AllocationMementoMap"), - ("read_only_space", 0x075c9): (147, "AsmWasmDataMap"), - ("read_only_space", 0x075f1): (148, "AsyncGeneratorRequestMap"), - ("read_only_space", 0x07619): (149, "BreakPointMap"), - ("read_only_space", 0x07641): (150, "BreakPointInfoMap"), - ("read_only_space", 0x07669): (151, "CachedTemplateObjectMap"), - ("read_only_space", 0x07691): (152, "CallSiteInfoMap"), - ("read_only_space", 0x076b9): (153, "ClassPositionsMap"), - ("read_only_space", 0x076e1): (154, "DebugInfoMap"), - ("read_only_space", 0x07709): (156, "ErrorStackDataMap"), - ("read_only_space", 0x07731): (158, "FunctionTemplateRareDataMap"), - ("read_only_space", 0x07759): (160, "InterpreterDataMap"), - ("read_only_space", 0x07781): (161, "ModuleRequestMap"), - ("read_only_space", 0x077a9): (162, "PromiseCapabilityMap"), - ("read_only_space", 0x077d1): (163, "PromiseOnStackMap"), - ("read_only_space", 0x077f9): (164, "PromiseReactionMap"), - ("read_only_space", 0x07821): (165, "PropertyDescriptorObjectMap"), - ("read_only_space", 0x07849): (166, "PrototypeInfoMap"), - ("read_only_space", 0x07871): (167, "RegExpBoilerplateDescriptionMap"), - ("read_only_space", 0x07899): (168, "ScriptMap"), - ("read_only_space", 0x078c1): (169, "ScriptOrModuleMap"), - ("read_only_space", 0x078e9): (170, "SourceTextModuleInfoEntryMap"), - ("read_only_space", 0x07911): (171, "StackFrameInfoMap"), - ("read_only_space", 0x07939): (172, "TemplateObjectDescriptionMap"), - ("read_only_space", 0x07961): (173, "Tuple2Map"), - ("read_only_space", 0x07989): (174, "WasmExceptionTagMap"), - ("read_only_space", 0x079b1): (175, "WasmIndirectFunctionTableMap"), - ("read_only_space", 0x079d9): (195, "SloppyArgumentsElementsMap"), - ("read_only_space", 0x07a01): (228, "DescriptorArrayMap"), - ("read_only_space", 0x07a29): (217, "UncompiledDataWithoutPreparseDataMap"), - ("read_only_space", 0x07a51): (215, "UncompiledDataWithPreparseDataMap"), - ("read_only_space", 0x07a79): (218, "UncompiledDataWithoutPreparseDataWithJobMap"), - ("read_only_space", 0x07aa1): (216, "UncompiledDataWithPreparseDataAndJobMap"), - ("read_only_space", 0x07ac9): (249, "OnHeapBasicBlockProfilerDataMap"), - ("read_only_space", 0x07af1): (196, "TurbofanBitsetTypeMap"), - ("read_only_space", 0x07b19): (200, "TurbofanUnionTypeMap"), - ("read_only_space", 0x07b41): (199, "TurbofanRangeTypeMap"), - ("read_only_space", 0x07b69): (197, "TurbofanHeapConstantTypeMap"), - ("read_only_space", 0x07b91): (198, "TurbofanOtherNumberConstantTypeMap"), - ("read_only_space", 0x07bb9): (245, "InternalClassMap"), - ("read_only_space", 0x07be1): (256, "SmiPairMap"), - ("read_only_space", 0x07c09): (255, "SmiBoxMap"), - ("read_only_space", 0x07c31): (201, "ExportedSubClassBaseMap"), - ("read_only_space", 0x07c59): (202, "ExportedSubClassMap"), - ("read_only_space", 0x07c81): (226, "AbstractInternalClassSubclass1Map"), - ("read_only_space", 0x07ca9): (227, "AbstractInternalClassSubclass2Map"), - ("read_only_space", 0x07cd1): (194, "InternalClassWithSmiElementsMap"), - ("read_only_space", 0x07cf9): (246, "InternalClassWithStructElementsMap"), - ("read_only_space", 0x07d21): (203, "ExportedSubClass2Map"), - ("read_only_space", 0x07d49): (257, "SortStateMap"), - ("read_only_space", 0x07d71): (263, "WasmStringViewIterMap"), - ("read_only_space", 0x07d99): (145, "AllocationSiteWithWeakNextMap"), - ("read_only_space", 0x07dc1): (145, "AllocationSiteWithoutWeakNextMap"), - ("read_only_space", 0x07e8d): (137, "LoadHandler1Map"), - ("read_only_space", 0x07eb5): (137, "LoadHandler2Map"), - ("read_only_space", 0x07edd): (137, "LoadHandler3Map"), - ("read_only_space", 0x07f05): (138, "StoreHandler0Map"), - ("read_only_space", 0x07f2d): (138, "StoreHandler1Map"), - ("read_only_space", 0x07f55): (138, "StoreHandler2Map"), - ("read_only_space", 0x07f7d): (138, "StoreHandler3Map"), + ("read_only_space", 0x073e9): (132, "PromiseFulfillReactionJobTaskMap"), + ("read_only_space", 0x07411): (133, "PromiseRejectReactionJobTaskMap"), + ("read_only_space", 0x07439): (134, "CallableTaskMap"), + ("read_only_space", 0x07461): (135, "CallbackTaskMap"), + ("read_only_space", 0x07489): (136, "PromiseResolveThenableJobTaskMap"), + ("read_only_space", 0x074b1): (139, "FunctionTemplateInfoMap"), + ("read_only_space", 0x074d9): (140, "ObjectTemplateInfoMap"), + ("read_only_space", 0x07501): (141, "AccessCheckInfoMap"), + ("read_only_space", 0x07529): (142, "AccessorPairMap"), + ("read_only_space", 0x07551): (143, "AliasedArgumentsEntryMap"), + ("read_only_space", 0x07579): (144, "AllocationMementoMap"), + ("read_only_space", 0x075a1): (147, "AsmWasmDataMap"), + ("read_only_space", 0x075c9): (148, "AsyncGeneratorRequestMap"), + ("read_only_space", 0x075f1): (149, "BreakPointMap"), + ("read_only_space", 0x07619): (150, "BreakPointInfoMap"), + ("read_only_space", 0x07641): (151, "CachedTemplateObjectMap"), + ("read_only_space", 0x07669): (152, "CallSiteInfoMap"), + ("read_only_space", 0x07691): (153, "ClassPositionsMap"), + ("read_only_space", 0x076b9): (154, "DebugInfoMap"), + ("read_only_space", 0x076e1): (156, "ErrorStackDataMap"), + ("read_only_space", 0x07709): (158, "FunctionTemplateRareDataMap"), + ("read_only_space", 0x07731): (160, "InterpreterDataMap"), + ("read_only_space", 0x07759): (161, "ModuleRequestMap"), + ("read_only_space", 0x07781): (162, "PromiseCapabilityMap"), + ("read_only_space", 0x077a9): (163, "PromiseOnStackMap"), + ("read_only_space", 0x077d1): (164, "PromiseReactionMap"), + ("read_only_space", 0x077f9): (165, "PropertyDescriptorObjectMap"), + ("read_only_space", 0x07821): (166, "PrototypeInfoMap"), + ("read_only_space", 0x07849): (167, "RegExpBoilerplateDescriptionMap"), + ("read_only_space", 0x07871): (168, "ScriptMap"), + ("read_only_space", 0x07899): (169, "ScriptOrModuleMap"), + ("read_only_space", 0x078c1): (170, "SourceTextModuleInfoEntryMap"), + ("read_only_space", 0x078e9): (171, "StackFrameInfoMap"), + ("read_only_space", 0x07911): (172, "TemplateObjectDescriptionMap"), + ("read_only_space", 0x07939): (173, "Tuple2Map"), + ("read_only_space", 0x07961): (174, "WasmExceptionTagMap"), + ("read_only_space", 0x07989): (175, "WasmIndirectFunctionTableMap"), + ("read_only_space", 0x079b1): (195, "SloppyArgumentsElementsMap"), + ("read_only_space", 0x079d9): (228, "DescriptorArrayMap"), + ("read_only_space", 0x07a01): (217, "UncompiledDataWithoutPreparseDataMap"), + ("read_only_space", 0x07a29): (215, "UncompiledDataWithPreparseDataMap"), + ("read_only_space", 0x07a51): (218, "UncompiledDataWithoutPreparseDataWithJobMap"), + ("read_only_space", 0x07a79): (216, "UncompiledDataWithPreparseDataAndJobMap"), + ("read_only_space", 0x07aa1): (249, "OnHeapBasicBlockProfilerDataMap"), + ("read_only_space", 0x07ac9): (196, "TurbofanBitsetTypeMap"), + ("read_only_space", 0x07af1): (200, "TurbofanUnionTypeMap"), + ("read_only_space", 0x07b19): (199, "TurbofanRangeTypeMap"), + ("read_only_space", 0x07b41): (197, "TurbofanHeapConstantTypeMap"), + ("read_only_space", 0x07b69): (198, "TurbofanOtherNumberConstantTypeMap"), + ("read_only_space", 0x07b91): (245, "InternalClassMap"), + ("read_only_space", 0x07bb9): (256, "SmiPairMap"), + ("read_only_space", 0x07be1): (255, "SmiBoxMap"), + ("read_only_space", 0x07c09): (201, "ExportedSubClassBaseMap"), + ("read_only_space", 0x07c31): (202, "ExportedSubClassMap"), + ("read_only_space", 0x07c59): (226, "AbstractInternalClassSubclass1Map"), + ("read_only_space", 0x07c81): (227, "AbstractInternalClassSubclass2Map"), + ("read_only_space", 0x07ca9): (194, "InternalClassWithSmiElementsMap"), + ("read_only_space", 0x07cd1): (246, "InternalClassWithStructElementsMap"), + ("read_only_space", 0x07cf9): (203, "ExportedSubClass2Map"), + ("read_only_space", 0x07d21): (257, "SortStateMap"), + ("read_only_space", 0x07d49): (263, "WasmStringViewIterMap"), + ("read_only_space", 0x07d71): (145, "AllocationSiteWithWeakNextMap"), + ("read_only_space", 0x07d99): (145, "AllocationSiteWithoutWeakNextMap"), + ("read_only_space", 0x07e65): (137, "LoadHandler1Map"), + ("read_only_space", 0x07e8d): (137, "LoadHandler2Map"), + ("read_only_space", 0x07eb5): (137, "LoadHandler3Map"), + ("read_only_space", 0x07edd): (138, "StoreHandler0Map"), + ("read_only_space", 0x07f05): (138, "StoreHandler1Map"), + ("read_only_space", 0x07f2d): (138, "StoreHandler2Map"), + ("read_only_space", 0x07f55): (138, "StoreHandler3Map"), ("map_space", 0x02139): (2115, "ExternalMap"), ("map_space", 0x02161): (2119, "JSMessageObjectMap"), }