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

Unified Diff: tools/grokdump.py

Issue 12213012: Split AccessorInfo into DeclaredAccessorInfo and ExecutableAccessorInfo (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed most feedback Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grokdump.py
diff --git a/tools/grokdump.py b/tools/grokdump.py
index 7a076754ee2f6ca041947e681f8e60db9759f45f..d54a04b0ed7eef703b8c091bb45e6701a8751c28 100755
--- a/tools/grokdump.py
+++ b/tools/grokdump.py
@@ -869,41 +869,43 @@ INSTANCE_TYPES = {
142: "EXTERNAL_FLOAT_ARRAY_TYPE",
144: "EXTERNAL_PIXEL_ARRAY_TYPE",
146: "FILLER_TYPE",
- 147: "ACCESSOR_INFO_TYPE",
- 148: "ACCESSOR_PAIR_TYPE",
- 149: "ACCESS_CHECK_INFO_TYPE",
- 150: "INTERCEPTOR_INFO_TYPE",
- 151: "CALL_HANDLER_INFO_TYPE",
- 152: "FUNCTION_TEMPLATE_INFO_TYPE",
- 153: "OBJECT_TEMPLATE_INFO_TYPE",
- 154: "SIGNATURE_INFO_TYPE",
- 155: "TYPE_SWITCH_INFO_TYPE",
- 156: "ALLOCATION_SITE_INFO_TYPE",
- 157: "SCRIPT_TYPE",
- 158: "CODE_CACHE_TYPE",
- 159: "POLYMORPHIC_CODE_CACHE_TYPE",
- 160: "TYPE_FEEDBACK_INFO_TYPE",
- 161: "ALIASED_ARGUMENTS_ENTRY_TYPE",
- 164: "FIXED_ARRAY_TYPE",
+ 147: "DECLARED_ACCESSOR_DESCRIPTOR_TYPE",
+ 148: "DECLARED_ACCESSOR_INFO_TYPE",
+ 149: "EXECUTABLE_ACCESSOR_INFO_TYPE",
+ 150: "ACCESSOR_PAIR_TYPE",
+ 151: "ACCESS_CHECK_INFO_TYPE",
+ 152: "INTERCEPTOR_INFO_TYPE",
+ 153: "CALL_HANDLER_INFO_TYPE",
+ 154: "FUNCTION_TEMPLATE_INFO_TYPE",
+ 155: "OBJECT_TEMPLATE_INFO_TYPE",
+ 156: "SIGNATURE_INFO_TYPE",
+ 157: "TYPE_SWITCH_INFO_TYPE",
+ 158: "ALLOCATION_SITE_INFO_TYPE",
+ 159: "SCRIPT_TYPE",
+ 160: "CODE_CACHE_TYPE",
+ 161: "POLYMORPHIC_CODE_CACHE_TYPE",
+ 162: "TYPE_FEEDBACK_INFO_TYPE",
+ 163: "ALIASED_ARGUMENTS_ENTRY_TYPE",
+ 166: "FIXED_ARRAY_TYPE",
145: "FIXED_DOUBLE_ARRAY_TYPE",
- 165: "SHARED_FUNCTION_INFO_TYPE",
- 166: "JS_MESSAGE_OBJECT_TYPE",
- 169: "JS_VALUE_TYPE",
- 170: "JS_DATE_TYPE",
- 171: "JS_OBJECT_TYPE",
- 172: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
- 173: "JS_MODULE_TYPE",
- 174: "JS_GLOBAL_OBJECT_TYPE",
- 175: "JS_BUILTINS_OBJECT_TYPE",
- 176: "JS_GLOBAL_PROXY_TYPE",
- 177: "JS_ARRAY_TYPE",
- 168: "JS_PROXY_TYPE",
- 180: "JS_WEAK_MAP_TYPE",
- 181: "JS_REGEXP_TYPE",
- 182: "JS_FUNCTION_TYPE",
- 167: "JS_FUNCTION_PROXY_TYPE",
- 162: "DEBUG_INFO_TYPE",
- 163: "BREAK_POINT_INFO_TYPE",
+ 167: "SHARED_FUNCTION_INFO_TYPE",
+ 168: "JS_MESSAGE_OBJECT_TYPE",
+ 171: "JS_VALUE_TYPE",
+ 172: "JS_DATE_TYPE",
+ 173: "JS_OBJECT_TYPE",
+ 174: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
+ 175: "JS_MODULE_TYPE",
+ 176: "JS_GLOBAL_OBJECT_TYPE",
+ 177: "JS_BUILTINS_OBJECT_TYPE",
+ 178: "JS_GLOBAL_PROXY_TYPE",
+ 179: "JS_ARRAY_TYPE",
+ 170: "JS_PROXY_TYPE",
+ 182: "JS_WEAK_MAP_TYPE",
+ 183: "JS_REGEXP_TYPE",
+ 184: "JS_FUNCTION_TYPE",
+ 169: "JS_FUNCTION_PROXY_TYPE",
+ 164: "DEBUG_INFO_TYPE",
+ 165: "BREAK_POINT_INFO_TYPE",
}
@@ -929,84 +931,86 @@ INSTANCE_TYPES = {
# }
# printf("}\n");
KNOWN_MAPS = {
- 0x08081: (134, "ByteArrayMap"),
- 0x080a9: (128, "MetaMap"),
+ 0x08081: (128, "MetaMap"),
+ 0x080a9: (166, "FixedArrayMap"),
0x080d1: (130, "OddballMap"),
- 0x080f9: (68, "AsciiSymbolMap"),
- 0x08121: (164, "FixedArrayMap"),
+ 0x080f9: (166, "FixedCOWArrayMap"),
+ 0x08121: (166, "ScopeInfoMap"),
0x08149: (132, "HeapNumberMap"),
- 0x08171: (135, "FreeSpaceMap"),
- 0x08199: (146, "OnePointerFillerMap"),
- 0x081c1: (146, "TwoPointerFillerMap"),
- 0x081e9: (131, "GlobalPropertyCellMap"),
- 0x08211: (165, "SharedFunctionInfoMap"),
- 0x08239: (4, "AsciiStringMap"),
- 0x08261: (164, "NativeContextMap"),
- 0x08289: (129, "CodeMap"),
- 0x082b1: (164, "ScopeInfoMap"),
- 0x082d9: (164, "FixedCOWArrayMap"),
- 0x08301: (145, "FixedDoubleArrayMap"),
- 0x08329: (164, "HashTableMap"),
- 0x08351: (0, "StringMap"),
- 0x08379: (64, "SymbolMap"),
- 0x083a1: (1, "ConsStringMap"),
- 0x083c9: (5, "ConsAsciiStringMap"),
- 0x083f1: (3, "SlicedStringMap"),
- 0x08419: (7, "SlicedAsciiStringMap"),
- 0x08441: (65, "ConsSymbolMap"),
- 0x08469: (69, "ConsAsciiSymbolMap"),
- 0x08491: (66, "ExternalSymbolMap"),
- 0x084b9: (74, "ExternalSymbolWithAsciiDataMap"),
- 0x084e1: (70, "ExternalAsciiSymbolMap"),
- 0x08509: (2, "ExternalStringMap"),
- 0x08531: (10, "ExternalStringWithAsciiDataMap"),
- 0x08559: (6, "ExternalAsciiStringMap"),
- 0x08581: (82, "ShortExternalSymbolMap"),
- 0x085a9: (90, "ShortExternalSymbolWithAsciiDataMap"),
- 0x085d1: (86, "ShortExternalAsciiSymbolMap"),
- 0x085f9: (18, "ShortExternalStringMap"),
- 0x08621: (26, "ShortExternalStringWithAsciiDataMap"),
- 0x08649: (22, "ShortExternalAsciiStringMap"),
- 0x08671: (0, "UndetectableStringMap"),
- 0x08699: (4, "UndetectableAsciiStringMap"),
- 0x086c1: (144, "ExternalPixelArrayMap"),
- 0x086e9: (136, "ExternalByteArrayMap"),
- 0x08711: (137, "ExternalUnsignedByteArrayMap"),
- 0x08739: (138, "ExternalShortArrayMap"),
- 0x08761: (139, "ExternalUnsignedShortArrayMap"),
- 0x08789: (140, "ExternalIntArrayMap"),
- 0x087b1: (141, "ExternalUnsignedIntArrayMap"),
- 0x087d9: (142, "ExternalFloatArrayMap"),
- 0x08801: (143, "ExternalDoubleArrayMap"),
- 0x08829: (164, "NonStrictArgumentsElementsMap"),
- 0x08851: (164, "FunctionContextMap"),
- 0x08879: (164, "CatchContextMap"),
- 0x088a1: (164, "WithContextMap"),
- 0x088c9: (164, "BlockContextMap"),
- 0x088f1: (164, "ModuleContextMap"),
- 0x08919: (164, "GlobalContextMap"),
- 0x08941: (166, "JSMessageObjectMap"),
- 0x08969: (133, "ForeignMap"),
- 0x08991: (171, "NeanderMap"),
- 0x089b9: (156, "AllocationSiteInfoMap"),
- 0x089e1: (159, "PolymorphicCodeCacheMap"),
- 0x08a09: (157, "ScriptMap"),
- 0x08a31: (171, ""),
- 0x08a59: (171, "ExternalMap"),
- 0x08a81: (147, "AccessorInfoMap"),
- 0x08aa9: (148, "AccessorPairMap"),
- 0x08ad1: (149, "AccessCheckInfoMap"),
- 0x08af9: (150, "InterceptorInfoMap"),
- 0x08b21: (151, "CallHandlerInfoMap"),
- 0x08b49: (152, "FunctionTemplateInfoMap"),
- 0x08b71: (153, "ObjectTemplateInfoMap"),
- 0x08b99: (154, "SignatureInfoMap"),
- 0x08bc1: (155, "TypeSwitchInfoMap"),
- 0x08be9: (158, "CodeCacheMap"),
- 0x08c11: (160, "TypeFeedbackInfoMap"),
- 0x08c39: (161, "AliasedArgumentsEntryMap"),
- 0x08c61: (162, "DebugInfoMap"),
- 0x08c89: (163, "BreakPointInfoMap"),
+ 0x08171: (133, "ForeignMap"),
+ 0x08199: (64, "SymbolMap"),
+ 0x081c1: (68, "AsciiSymbolMap"),
+ 0x081e9: (65, "ConsSymbolMap"),
+ 0x08211: (69, "ConsAsciiSymbolMap"),
+ 0x08239: (66, "ExternalSymbolMap"),
+ 0x08261: (74, "ExternalSymbolWithAsciiDataMap"),
+ 0x08289: (70, "ExternalAsciiSymbolMap"),
+ 0x082b1: (82, "ShortExternalSymbolMap"),
+ 0x082d9: (90, "ShortExternalSymbolWithAsciiDataMap"),
+ 0x08301: (86, "ShortExternalAsciiSymbolMap"),
+ 0x08329: (0, "StringMap"),
+ 0x08351: (4, "AsciiStringMap"),
+ 0x08379: (1, "ConsStringMap"),
+ 0x083a1: (5, "ConsAsciiStringMap"),
+ 0x083c9: (3, "SlicedStringMap"),
+ 0x083f1: (7, "SlicedAsciiStringMap"),
+ 0x08419: (2, "ExternalStringMap"),
+ 0x08441: (10, "ExternalStringWithAsciiDataMap"),
+ 0x08469: (6, "ExternalAsciiStringMap"),
+ 0x08491: (18, "ShortExternalStringMap"),
+ 0x084b9: (26, "ShortExternalStringWithAsciiDataMap"),
+ 0x084e1: (22, "ShortExternalAsciiStringMap"),
+ 0x08509: (0, "UndetectableStringMap"),
+ 0x08531: (4, "UndetectableAsciiStringMap"),
+ 0x08559: (145, "FixedDoubleArrayMap"),
+ 0x08581: (134, "ByteArrayMap"),
+ 0x085a9: (135, "FreeSpaceMap"),
+ 0x085d1: (144, "ExternalPixelArrayMap"),
+ 0x085f9: (136, "ExternalByteArrayMap"),
+ 0x08621: (137, "ExternalUnsignedByteArrayMap"),
+ 0x08649: (138, "ExternalShortArrayMap"),
+ 0x08671: (139, "ExternalUnsignedShortArrayMap"),
+ 0x08699: (140, "ExternalIntArrayMap"),
+ 0x086c1: (141, "ExternalUnsignedIntArrayMap"),
+ 0x086e9: (142, "ExternalFloatArrayMap"),
+ 0x08711: (166, "NonStrictArgumentsElementsMap"),
+ 0x08739: (143, "ExternalDoubleArrayMap"),
+ 0x08761: (129, "CodeMap"),
+ 0x08789: (131, "GlobalPropertyCellMap"),
+ 0x087b1: (146, "OnePointerFillerMap"),
+ 0x087d9: (146, "TwoPointerFillerMap"),
+ 0x08801: (147, "DeclaredAccessorDescriptorMap"),
+ 0x08829: (148, "DeclaredAccessorInfoMap"),
+ 0x08851: (149, "ExecutableAccessorInfoMap"),
+ 0x08879: (150, "AccessorPairMap"),
+ 0x088a1: (151, "AccessCheckInfoMap"),
+ 0x088c9: (152, "InterceptorInfoMap"),
+ 0x088f1: (153, "CallHandlerInfoMap"),
+ 0x08919: (154, "FunctionTemplateInfoMap"),
+ 0x08941: (155, "ObjectTemplateInfoMap"),
+ 0x08969: (156, "SignatureInfoMap"),
+ 0x08991: (157, "TypeSwitchInfoMap"),
+ 0x089b9: (159, "ScriptMap"),
+ 0x089e1: (158, "AllocationSiteInfoMap"),
+ 0x08a09: (160, "CodeCacheMap"),
+ 0x08a31: (161, "PolymorphicCodeCacheMap"),
+ 0x08a59: (162, "TypeFeedbackInfoMap"),
+ 0x08a81: (163, "AliasedArgumentsEntryMap"),
+ 0x08aa9: (164, "DebugInfoMap"),
+ 0x08ad1: (165, "BreakPointInfoMap"),
+ 0x08af9: (166, "HashTableMap"),
+ 0x08b21: (166, "FunctionContextMap"),
+ 0x08b49: (166, "CatchContextMap"),
+ 0x08b71: (166, "WithContextMap"),
+ 0x08b99: (166, "BlockContextMap"),
+ 0x08bc1: (166, "ModuleContextMap"),
+ 0x08be9: (166, "GlobalContextMap"),
+ 0x08c11: (166, "NativeContextMap"),
+ 0x08c39: (167, "SharedFunctionInfoMap"),
+ 0x08c61: (168, "JSMessageObjectMap"),
+ 0x08c89: (173, "ExternalMap"),
+ 0x08cb1: (173, "NeanderMap"),
+ 0x08cd9: (173, ""),
}
@@ -1034,34 +1038,27 @@ KNOWN_MAPS = {
# printf("}\n");
KNOWN_OBJECTS = {
("OLD_POINTER_SPACE", 0x08081): "NullValue",
- ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue",
- ("OLD_POINTER_SPACE", 0x080a1): "InstanceofCacheMap",
- ("OLD_POINTER_SPACE", 0x080b1): "TrueValue",
- ("OLD_POINTER_SPACE", 0x080c1): "FalseValue",
- ("OLD_POINTER_SPACE", 0x080d1): "NoInterceptorResultSentinel",
- ("OLD_POINTER_SPACE", 0x080e1): "ArgumentsMarker",
- ("OLD_POINTER_SPACE", 0x080f1): "NumberStringCache",
- ("OLD_POINTER_SPACE", 0x088f9): "SingleCharacterStringCache",
- ("OLD_POINTER_SPACE", 0x08b01): "StringSplitCache",
- ("OLD_POINTER_SPACE", 0x08f09): "TerminationException",
- ("OLD_POINTER_SPACE", 0x08f19): "MessageListeners",
- ("OLD_POINTER_SPACE", 0x08f35): "CodeStubs",
- ("OLD_POINTER_SPACE", 0x09b61): "NonMonomorphicCache",
- ("OLD_POINTER_SPACE", 0x0a175): "PolymorphicCodeCache",
- ("OLD_POINTER_SPACE", 0x0a17d): "NativesSourceCache",
- ("OLD_POINTER_SPACE", 0x0a1bd): "EmptyScript",
- ("OLD_POINTER_SPACE", 0x0a1f9): "IntrinsicFunctionNames",
- ("OLD_POINTER_SPACE", 0x24a49): "SymbolTable",
+ ("OLD_POINTER_SPACE", 0x08091): "LastScriptId",
+ ("OLD_POINTER_SPACE", 0x080a1): "TrueValue",
+ ("OLD_POINTER_SPACE", 0x080b1): "FalseValue",
+ ("OLD_POINTER_SPACE", 0x080c1): "TheHoleValue",
+ ("OLD_POINTER_SPACE", 0x080d1): "ArgumentsMarker",
+ ("OLD_POINTER_SPACE", 0x080e1): "NoInterceptorResultSentinel",
+ ("OLD_POINTER_SPACE", 0x080f1): "TerminationException",
+ ("OLD_POINTER_SPACE", 0x08101): "PolymorphicCodeCache",
+ ("OLD_POINTER_SPACE", 0x08121): "NumberStringCache",
+ ("OLD_POINTER_SPACE", 0x08929): "SingleCharacterStringCache",
+ ("OLD_POINTER_SPACE", 0x08b31): "StringSplitCache",
+ ("OLD_POINTER_SPACE", 0x08f39): "RegExpMultipleCache",
("OLD_DATA_SPACE", 0x08081): "EmptyFixedArray",
- ("OLD_DATA_SPACE", 0x080a1): "NanValue",
- ("OLD_DATA_SPACE", 0x0811d): "EmptyByteArray",
- ("OLD_DATA_SPACE", 0x08125): "EmptyString",
- ("OLD_DATA_SPACE", 0x08131): "EmptyDescriptorArray",
- ("OLD_DATA_SPACE", 0x08259): "InfinityValue",
- ("OLD_DATA_SPACE", 0x08265): "MinusZeroValue",
- ("OLD_DATA_SPACE", 0x08271): "PrototypeAccessors",
- ("CODE_SPACE", 0x12b81): "JsEntryCode",
- ("CODE_SPACE", 0x12c61): "JsConstructEntryCode",
+ ("OLD_DATA_SPACE", 0x08089): "EmptyDescriptorArray",
+ ("OLD_DATA_SPACE", 0x08091): "EmptyByteArray",
+ ("OLD_DATA_SPACE", 0x08099): "MinusZeroValue",
+ ("OLD_DATA_SPACE", 0x080a5): "NanValue",
+ ("OLD_DATA_SPACE", 0x080b1): "InfinityValue",
+ ("OLD_DATA_SPACE", 0x08185): "EmptyString",
+ ("CODE_SPACE", 0x0a001): "JsEntryCode",
+ ("CODE_SPACE", 0x0a0e1): "JsConstructEntryCode",
}
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698