From ab8486ee55e9643d1bf1c6a6f95f255d1b29388d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Z=C3=BCnd?= Date: Tue, 10 Dec 2019 07:53:51 +0100 Subject: [PATCH] [cleanup] Remove two unused string constants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: v8:10021 Change-Id: Ieffa39c09e028b9c0f91f1823ea6e89f81fec4cb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1948707 Commit-Queue: Simon Zünd Auto-Submit: Simon Zünd Reviewed-by: Toon Verwaest Cr-Commit-Position: refs/heads/master@{#65394} --- src/ast/ast-value-factory.h | 2 - src/init/heap-symbols.h | 2 - tools/v8heapconst.py | 94 ++++++++++++++++++------------------- 3 files changed, 47 insertions(+), 51 deletions(-) diff --git a/src/ast/ast-value-factory.h b/src/ast/ast-value-factory.h index a555ad55aa..5252273ceb 100644 --- a/src/ast/ast-value-factory.h +++ b/src/ast/ast-value-factory.h @@ -210,8 +210,6 @@ class AstBigInt { F(dot_default, ".default") \ F(dot_for, ".for") \ F(dot_generator_object, ".generator_object") \ - F(dot_iterator, ".iterator") \ - F(dot_promise, ".promise") \ F(dot_result, ".result") \ F(dot_repl_result, ".repl_result") \ F(dot_switch_tag, ".switch_tag") \ diff --git a/src/init/heap-symbols.h b/src/init/heap-symbols.h index 02638c005d..b825201590 100644 --- a/src/init/heap-symbols.h +++ b/src/init/heap-symbols.h @@ -171,8 +171,6 @@ V(_, dot_default_string, ".default") \ 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_repl_result_string, ".repl_result") \ V(_, dot_string, ".") \ diff --git a/tools/v8heapconst.py b/tools/v8heapconst.py index e3deb25d4f..349cdeccfe 100644 --- a/tools/v8heapconst.py +++ b/tools/v8heapconst.py @@ -280,53 +280,53 @@ KNOWN_MAPS = { ("read_only_space", 0x01151): (92, "EnumCacheMap"), ("read_only_space", 0x011a1): (86, "ArrayBoilerplateDescriptionMap"), ("read_only_space", 0x0129d): (95, "InterceptorInfoMap"), - ("read_only_space", 0x032b5): (71, "PromiseFulfillReactionJobTaskMap"), - ("read_only_space", 0x032dd): (72, "PromiseRejectReactionJobTaskMap"), - ("read_only_space", 0x03305): (73, "CallableTaskMap"), - ("read_only_space", 0x0332d): (74, "CallbackTaskMap"), - ("read_only_space", 0x03355): (75, "PromiseResolveThenableJobTaskMap"), - ("read_only_space", 0x0337d): (78, "FunctionTemplateInfoMap"), - ("read_only_space", 0x033a5): (79, "ObjectTemplateInfoMap"), - ("read_only_space", 0x033cd): (80, "AccessCheckInfoMap"), - ("read_only_space", 0x033f5): (81, "AccessorInfoMap"), - ("read_only_space", 0x0341d): (82, "AccessorPairMap"), - ("read_only_space", 0x03445): (83, "AliasedArgumentsEntryMap"), - ("read_only_space", 0x0346d): (84, "AllocationMementoMap"), - ("read_only_space", 0x03495): (87, "AsmWasmDataMap"), - ("read_only_space", 0x034bd): (88, "AsyncGeneratorRequestMap"), - ("read_only_space", 0x034e5): (90, "ClassPositionsMap"), - ("read_only_space", 0x0350d): (91, "DebugInfoMap"), - ("read_only_space", 0x03535): (94, "FunctionTemplateRareDataMap"), - ("read_only_space", 0x0355d): (97, "InterpreterDataMap"), - ("read_only_space", 0x03585): (98, "PromiseCapabilityMap"), - ("read_only_space", 0x035ad): (99, "PromiseReactionMap"), - ("read_only_space", 0x035d5): (100, "PrototypeInfoMap"), - ("read_only_space", 0x035fd): (101, "ScriptMap"), - ("read_only_space", 0x03625): (105, "SourceTextModuleInfoEntryMap"), - ("read_only_space", 0x0364d): (106, "StackFrameInfoMap"), - ("read_only_space", 0x03675): (107, "StackTraceFrameMap"), - ("read_only_space", 0x0369d): (108, "TemplateObjectDescriptionMap"), - ("read_only_space", 0x036c5): (109, "Tuple2Map"), - ("read_only_space", 0x036ed): (110, "Tuple3Map"), - ("read_only_space", 0x03715): (111, "WasmCapiFunctionDataMap"), - ("read_only_space", 0x0373d): (112, "WasmDebugInfoMap"), - ("read_only_space", 0x03765): (113, "WasmExceptionTagMap"), - ("read_only_space", 0x0378d): (114, "WasmExportedFunctionDataMap"), - ("read_only_space", 0x037b5): (115, "WasmIndirectFunctionTableMap"), - ("read_only_space", 0x037dd): (116, "WasmJSFunctionDataMap"), - ("read_only_space", 0x03805): (96, "InternalClassMap"), - ("read_only_space", 0x0382d): (103, "SmiPairMap"), - ("read_only_space", 0x03855): (102, "SmiBoxMap"), - ("read_only_space", 0x0387d): (104, "SortStateMap"), - ("read_only_space", 0x038a5): (85, "AllocationSiteWithWeakNextMap"), - ("read_only_space", 0x038cd): (85, "AllocationSiteWithoutWeakNextMap"), - ("read_only_space", 0x038f5): (76, "LoadHandler1Map"), - ("read_only_space", 0x0391d): (76, "LoadHandler2Map"), - ("read_only_space", 0x03945): (76, "LoadHandler3Map"), - ("read_only_space", 0x0396d): (77, "StoreHandler0Map"), - ("read_only_space", 0x03995): (77, "StoreHandler1Map"), - ("read_only_space", 0x039bd): (77, "StoreHandler2Map"), - ("read_only_space", 0x039e5): (77, "StoreHandler3Map"), + ("read_only_space", 0x03289): (71, "PromiseFulfillReactionJobTaskMap"), + ("read_only_space", 0x032b1): (72, "PromiseRejectReactionJobTaskMap"), + ("read_only_space", 0x032d9): (73, "CallableTaskMap"), + ("read_only_space", 0x03301): (74, "CallbackTaskMap"), + ("read_only_space", 0x03329): (75, "PromiseResolveThenableJobTaskMap"), + ("read_only_space", 0x03351): (78, "FunctionTemplateInfoMap"), + ("read_only_space", 0x03379): (79, "ObjectTemplateInfoMap"), + ("read_only_space", 0x033a1): (80, "AccessCheckInfoMap"), + ("read_only_space", 0x033c9): (81, "AccessorInfoMap"), + ("read_only_space", 0x033f1): (82, "AccessorPairMap"), + ("read_only_space", 0x03419): (83, "AliasedArgumentsEntryMap"), + ("read_only_space", 0x03441): (84, "AllocationMementoMap"), + ("read_only_space", 0x03469): (87, "AsmWasmDataMap"), + ("read_only_space", 0x03491): (88, "AsyncGeneratorRequestMap"), + ("read_only_space", 0x034b9): (90, "ClassPositionsMap"), + ("read_only_space", 0x034e1): (91, "DebugInfoMap"), + ("read_only_space", 0x03509): (94, "FunctionTemplateRareDataMap"), + ("read_only_space", 0x03531): (97, "InterpreterDataMap"), + ("read_only_space", 0x03559): (98, "PromiseCapabilityMap"), + ("read_only_space", 0x03581): (99, "PromiseReactionMap"), + ("read_only_space", 0x035a9): (100, "PrototypeInfoMap"), + ("read_only_space", 0x035d1): (101, "ScriptMap"), + ("read_only_space", 0x035f9): (105, "SourceTextModuleInfoEntryMap"), + ("read_only_space", 0x03621): (106, "StackFrameInfoMap"), + ("read_only_space", 0x03649): (107, "StackTraceFrameMap"), + ("read_only_space", 0x03671): (108, "TemplateObjectDescriptionMap"), + ("read_only_space", 0x03699): (109, "Tuple2Map"), + ("read_only_space", 0x036c1): (110, "Tuple3Map"), + ("read_only_space", 0x036e9): (111, "WasmCapiFunctionDataMap"), + ("read_only_space", 0x03711): (112, "WasmDebugInfoMap"), + ("read_only_space", 0x03739): (113, "WasmExceptionTagMap"), + ("read_only_space", 0x03761): (114, "WasmExportedFunctionDataMap"), + ("read_only_space", 0x03789): (115, "WasmIndirectFunctionTableMap"), + ("read_only_space", 0x037b1): (116, "WasmJSFunctionDataMap"), + ("read_only_space", 0x037d9): (96, "InternalClassMap"), + ("read_only_space", 0x03801): (103, "SmiPairMap"), + ("read_only_space", 0x03829): (102, "SmiBoxMap"), + ("read_only_space", 0x03851): (104, "SortStateMap"), + ("read_only_space", 0x03879): (85, "AllocationSiteWithWeakNextMap"), + ("read_only_space", 0x038a1): (85, "AllocationSiteWithoutWeakNextMap"), + ("read_only_space", 0x038c9): (76, "LoadHandler1Map"), + ("read_only_space", 0x038f1): (76, "LoadHandler2Map"), + ("read_only_space", 0x03919): (76, "LoadHandler3Map"), + ("read_only_space", 0x03941): (77, "StoreHandler0Map"), + ("read_only_space", 0x03969): (77, "StoreHandler1Map"), + ("read_only_space", 0x03991): (77, "StoreHandler2Map"), + ("read_only_space", 0x039b9): (77, "StoreHandler3Map"), ("map_space", 0x00121): (1057, "ExternalMap"), ("map_space", 0x00149): (1073, "JSMessageObjectMap"), }