Remove some unused string constant

R=szuend@chromium.org

Change-Id: I7d8eb6f26dd0cecd749a66cd2b240ff27cbba985
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1621927
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61767}
This commit is contained in:
Yang Guo 2019-05-23 09:55:32 +02:00 committed by Commit Bot
parent b72941e8b0
commit 7b12e3b94b
3 changed files with 44 additions and 53 deletions

View File

@ -53,7 +53,6 @@ namespace internal {
V(kPromiseAlreadySettled, "Promise already settled") \
V(kReceivedInvalidReturnAddress, "Received invalid return address") \
V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \
V(kRegisterWasClobbered, "Register was clobbered") \
V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \
V(kShouldNotDirectlyEnterOsrFunction, \
"Should not directly enter OSR-compiled function") \

View File

@ -125,7 +125,6 @@
V(_, ArrayBuffer_string, "ArrayBuffer") \
V(_, ArrayIterator_string, "Array Iterator") \
V(_, as_string, "as") \
V(_, assign_string, "assign") \
V(_, async_string, "async") \
V(_, auto_string, "auto") \
V(_, await_string, "await") \
@ -142,7 +141,6 @@
V(_, byte_length_string, "byteLength") \
V(_, byte_offset_string, "byteOffset") \
V(_, CompileError_string, "CompileError") \
V(_, call_string, "call") \
V(_, callee_string, "callee") \
V(_, caller_string, "caller") \
V(_, character_string, "character") \
@ -154,7 +152,6 @@
V(_, conjunction_string, "conjunction") \
V(_, construct_string, "construct") \
V(_, constructor_string, "constructor") \
V(_, create_string, "create") \
V(_, Date_string, "Date") \
V(_, date_to_string, "[object Date]") \
V(_, default_string, "default") \
@ -174,7 +171,6 @@
V(_, dot_string, ".") \
V(_, dot_switch_tag_string, ".switch_tag") \
V(_, dotAll_string, "dotAll") \
V(_, entries_string, "entries") \
V(_, enumerable_string, "enumerable") \
V(_, element_string, "element") \
V(_, Error_string, "Error") \
@ -195,7 +191,6 @@
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") \
@ -212,7 +207,6 @@
V(_, Int32Array_string, "Int32Array") \
V(_, Int8Array_string, "Int8Array") \
V(_, isExtensible_string, "isExtensible") \
V(_, isView_string, "isView") \
V(_, keys_string, "keys") \
V(_, lastIndex_string, "lastIndex") \
V(_, length_string, "length") \
@ -256,7 +250,6 @@
V(_, preventExtensions_string, "preventExtensions") \
V(_, private_constructor_string, "#constructor") \
V(_, Promise_string, "Promise") \
V(_, promise_string, "promise") \
V(_, proto_string, "__proto__") \
V(_, prototype_string, "prototype") \
V(_, proxy_string, "proxy") \
@ -315,7 +308,6 @@
V(_, URIError_string, "URIError") \
V(_, value_string, "value") \
V(_, valueOf_string, "valueOf") \
V(_, values_string, "values") \
V(_, WeakMap_string, "WeakMap") \
V(_, WeakRef_string, "WeakRef") \
V(_, WeakSet_string, "WeakSet") \

View File

@ -307,50 +307,50 @@ KNOWN_MAPS = {
("read_only_space", 0x026e1): (98, "EnumCacheMap"),
("read_only_space", 0x02781): (116, "ArrayBoilerplateDescriptionMap"),
("read_only_space", 0x02ad1): (101, "InterceptorInfoMap"),
("read_only_space", 0x05341): (89, "AccessCheckInfoMap"),
("read_only_space", 0x05391): (90, "AccessorInfoMap"),
("read_only_space", 0x053e1): (91, "AccessorPairMap"),
("read_only_space", 0x05431): (92, "AliasedArgumentsEntryMap"),
("read_only_space", 0x05481): (93, "AllocationMementoMap"),
("read_only_space", 0x054d1): (94, "AsmWasmDataMap"),
("read_only_space", 0x05521): (95, "AsyncGeneratorRequestMap"),
("read_only_space", 0x05571): (96, "ClassPositionsMap"),
("read_only_space", 0x055c1): (97, "DebugInfoMap"),
("read_only_space", 0x05611): (99, "FunctionTemplateInfoMap"),
("read_only_space", 0x05661): (100, "FunctionTemplateRareDataMap"),
("read_only_space", 0x056b1): (102, "InterpreterDataMap"),
("read_only_space", 0x05701): (103, "ModuleInfoEntryMap"),
("read_only_space", 0x05751): (104, "ModuleMap"),
("read_only_space", 0x057a1): (105, "ObjectTemplateInfoMap"),
("read_only_space", 0x057f1): (106, "PromiseCapabilityMap"),
("read_only_space", 0x05841): (107, "PromiseReactionMap"),
("read_only_space", 0x05891): (108, "PrototypeInfoMap"),
("read_only_space", 0x058e1): (109, "ScriptMap"),
("read_only_space", 0x05931): (110, "SourcePositionTableWithFrameCacheMap"),
("read_only_space", 0x05981): (111, "StackFrameInfoMap"),
("read_only_space", 0x059d1): (112, "StackTraceFrameMap"),
("read_only_space", 0x05a21): (113, "TemplateObjectDescriptionMap"),
("read_only_space", 0x05a71): (114, "Tuple2Map"),
("read_only_space", 0x05ac1): (115, "Tuple3Map"),
("read_only_space", 0x05b11): (117, "WasmCapiFunctionDataMap"),
("read_only_space", 0x05b61): (118, "WasmDebugInfoMap"),
("read_only_space", 0x05bb1): (119, "WasmExceptionTagMap"),
("read_only_space", 0x05c01): (120, "WasmExportedFunctionDataMap"),
("read_only_space", 0x05c51): (121, "CallableTaskMap"),
("read_only_space", 0x05ca1): (122, "CallbackTaskMap"),
("read_only_space", 0x05cf1): (123, "PromiseFulfillReactionJobTaskMap"),
("read_only_space", 0x05d41): (124, "PromiseRejectReactionJobTaskMap"),
("read_only_space", 0x05d91): (125, "PromiseResolveThenableJobTaskMap"),
("read_only_space", 0x05de1): (126, "FinalizationGroupCleanupJobTaskMap"),
("read_only_space", 0x05e31): (127, "AllocationSiteWithWeakNextMap"),
("read_only_space", 0x05e81): (127, "AllocationSiteWithoutWeakNextMap"),
("read_only_space", 0x05ed1): (162, "LoadHandler1Map"),
("read_only_space", 0x05f21): (162, "LoadHandler2Map"),
("read_only_space", 0x05f71): (162, "LoadHandler3Map"),
("read_only_space", 0x05fc1): (170, "StoreHandler0Map"),
("read_only_space", 0x06011): (170, "StoreHandler1Map"),
("read_only_space", 0x06061): (170, "StoreHandler2Map"),
("read_only_space", 0x060b1): (170, "StoreHandler3Map"),
("read_only_space", 0x05269): (89, "AccessCheckInfoMap"),
("read_only_space", 0x052b9): (90, "AccessorInfoMap"),
("read_only_space", 0x05309): (91, "AccessorPairMap"),
("read_only_space", 0x05359): (92, "AliasedArgumentsEntryMap"),
("read_only_space", 0x053a9): (93, "AllocationMementoMap"),
("read_only_space", 0x053f9): (94, "AsmWasmDataMap"),
("read_only_space", 0x05449): (95, "AsyncGeneratorRequestMap"),
("read_only_space", 0x05499): (96, "ClassPositionsMap"),
("read_only_space", 0x054e9): (97, "DebugInfoMap"),
("read_only_space", 0x05539): (99, "FunctionTemplateInfoMap"),
("read_only_space", 0x05589): (100, "FunctionTemplateRareDataMap"),
("read_only_space", 0x055d9): (102, "InterpreterDataMap"),
("read_only_space", 0x05629): (103, "ModuleInfoEntryMap"),
("read_only_space", 0x05679): (104, "ModuleMap"),
("read_only_space", 0x056c9): (105, "ObjectTemplateInfoMap"),
("read_only_space", 0x05719): (106, "PromiseCapabilityMap"),
("read_only_space", 0x05769): (107, "PromiseReactionMap"),
("read_only_space", 0x057b9): (108, "PrototypeInfoMap"),
("read_only_space", 0x05809): (109, "ScriptMap"),
("read_only_space", 0x05859): (110, "SourcePositionTableWithFrameCacheMap"),
("read_only_space", 0x058a9): (111, "StackFrameInfoMap"),
("read_only_space", 0x058f9): (112, "StackTraceFrameMap"),
("read_only_space", 0x05949): (113, "TemplateObjectDescriptionMap"),
("read_only_space", 0x05999): (114, "Tuple2Map"),
("read_only_space", 0x059e9): (115, "Tuple3Map"),
("read_only_space", 0x05a39): (117, "WasmCapiFunctionDataMap"),
("read_only_space", 0x05a89): (118, "WasmDebugInfoMap"),
("read_only_space", 0x05ad9): (119, "WasmExceptionTagMap"),
("read_only_space", 0x05b29): (120, "WasmExportedFunctionDataMap"),
("read_only_space", 0x05b79): (121, "CallableTaskMap"),
("read_only_space", 0x05bc9): (122, "CallbackTaskMap"),
("read_only_space", 0x05c19): (123, "PromiseFulfillReactionJobTaskMap"),
("read_only_space", 0x05c69): (124, "PromiseRejectReactionJobTaskMap"),
("read_only_space", 0x05cb9): (125, "PromiseResolveThenableJobTaskMap"),
("read_only_space", 0x05d09): (126, "FinalizationGroupCleanupJobTaskMap"),
("read_only_space", 0x05d59): (127, "AllocationSiteWithWeakNextMap"),
("read_only_space", 0x05da9): (127, "AllocationSiteWithoutWeakNextMap"),
("read_only_space", 0x05df9): (162, "LoadHandler1Map"),
("read_only_space", 0x05e49): (162, "LoadHandler2Map"),
("read_only_space", 0x05e99): (162, "LoadHandler3Map"),
("read_only_space", 0x05ee9): (170, "StoreHandler0Map"),
("read_only_space", 0x05f39): (170, "StoreHandler1Map"),
("read_only_space", 0x05f89): (170, "StoreHandler2Map"),
("read_only_space", 0x05fd9): (170, "StoreHandler3Map"),
("map_space", 0x00139): (1057, "ExternalMap"),
("map_space", 0x00189): (1073, "JSMessageObjectMap"),
}