Revert '[runtime] Temporarily disable double fields unboxing.'

Bug: chromium:831981
Change-Id: Ie0e4bb6ca585f76829e0100202e01d02c521ac51
Reviewed-on: https://chromium-review.googlesource.com/1009902
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52566}
This commit is contained in:
Toon Verwaest 2018-04-12 10:57:41 +02:00 committed by Commit Bot
parent 72a126b947
commit 225bc87e2e
2 changed files with 132 additions and 132 deletions

View File

@ -103,7 +103,7 @@ constexpr int kStackSpaceRequiredForCompilation = 40;
// Determine whether double field unboxing feature is enabled.
#if V8_TARGET_ARCH_64_BIT
#define V8_DOUBLE_FIELDS_UNBOXING 0
#define V8_DOUBLE_FIELDS_UNBOXING 1
#else
#define V8_DOUBLE_FIELDS_UNBOXING 0
#endif

View File

@ -159,137 +159,137 @@ INSTANCE_TYPES = {
# List of known V8 maps.
KNOWN_MAPS = {
("MAP_SPACE", 0x02201): (138, "FreeSpaceMap"),
("MAP_SPACE", 0x02251): (132, "MetaMap"),
("MAP_SPACE", 0x022a1): (131, "NullMap"),
("MAP_SPACE", 0x022f1): (185, "DescriptorArrayMap"),
("MAP_SPACE", 0x02341): (183, "FixedArrayMap"),
("MAP_SPACE", 0x02391): (152, "OnePointerFillerMap"),
("MAP_SPACE", 0x023e1): (152, "TwoPointerFillerMap"),
("MAP_SPACE", 0x02431): (131, "UninitializedMap"),
("MAP_SPACE", 0x02481): (8, "OneByteInternalizedStringMap"),
("MAP_SPACE", 0x024d1): (131, "UndefinedMap"),
("MAP_SPACE", 0x02521): (129, "HeapNumberMap"),
("MAP_SPACE", 0x02571): (131, "TheHoleMap"),
("MAP_SPACE", 0x025c1): (131, "BooleanMap"),
("MAP_SPACE", 0x02611): (136, "ByteArrayMap"),
("MAP_SPACE", 0x02661): (183, "FixedCOWArrayMap"),
("MAP_SPACE", 0x026b1): (186, "HashTableMap"),
("MAP_SPACE", 0x02701): (128, "SymbolMap"),
("MAP_SPACE", 0x02751): (72, "OneByteStringMap"),
("MAP_SPACE", 0x027a1): (187, "ScopeInfoMap"),
("MAP_SPACE", 0x027f1): (206, "SharedFunctionInfoMap"),
("MAP_SPACE", 0x02841): (133, "CodeMap"),
("MAP_SPACE", 0x02891): (193, "FunctionContextMap"),
("MAP_SPACE", 0x028e1): (199, "CellMap"),
("MAP_SPACE", 0x02931): (210, "WeakCellMap"),
("MAP_SPACE", 0x02981): (205, "GlobalPropertyCellMap"),
("MAP_SPACE", 0x029d1): (135, "ForeignMap"),
("MAP_SPACE", 0x02a21): (188, "TransitionArrayMap"),
("MAP_SPACE", 0x02a71): (202, "FeedbackVectorMap"),
("MAP_SPACE", 0x02ac1): (131, "ArgumentsMarkerMap"),
("MAP_SPACE", 0x02b11): (131, "ExceptionMap"),
("MAP_SPACE", 0x02b61): (131, "TerminationExceptionMap"),
("MAP_SPACE", 0x02bb1): (131, "OptimizedOutMap"),
("MAP_SPACE", 0x02c01): (131, "StaleRegisterMap"),
("MAP_SPACE", 0x02c51): (195, "NativeContextMap"),
("MAP_SPACE", 0x02ca1): (194, "ModuleContextMap"),
("MAP_SPACE", 0x02cf1): (192, "EvalContextMap"),
("MAP_SPACE", 0x02d41): (196, "ScriptContextMap"),
("MAP_SPACE", 0x02d91): (189, "BlockContextMap"),
("MAP_SPACE", 0x02de1): (190, "CatchContextMap"),
("MAP_SPACE", 0x02e31): (197, "WithContextMap"),
("MAP_SPACE", 0x02e81): (191, "DebugEvaluateContextMap"),
("MAP_SPACE", 0x02ed1): (183, "ScriptContextTableMap"),
("MAP_SPACE", 0x02f21): (151, "FeedbackMetadataArrayMap"),
("MAP_SPACE", 0x02f71): (183, "ArrayListMap"),
("MAP_SPACE", 0x02fc1): (130, "BigIntMap"),
("MAP_SPACE", 0x03011): (184, "BoilerplateDescriptionMap"),
("MAP_SPACE", 0x03061): (137, "BytecodeArrayMap"),
("MAP_SPACE", 0x030b1): (200, "CodeDataContainerMap"),
("MAP_SPACE", 0x03101): (1057, "ExternalMap"),
("MAP_SPACE", 0x03151): (150, "FixedDoubleArrayMap"),
("MAP_SPACE", 0x031a1): (186, "GlobalDictionaryMap"),
("MAP_SPACE", 0x031f1): (201, "ManyClosuresCellMap"),
("MAP_SPACE", 0x03241): (1072, "JSMessageObjectMap"),
("MAP_SPACE", 0x03291): (183, "ModuleInfoMap"),
("MAP_SPACE", 0x032e1): (134, "MutableHeapNumberMap"),
("MAP_SPACE", 0x03331): (186, "NameDictionaryMap"),
("MAP_SPACE", 0x03381): (201, "NoClosuresCellMap"),
("MAP_SPACE", 0x033d1): (186, "NumberDictionaryMap"),
("MAP_SPACE", 0x03421): (201, "OneClosureCellMap"),
("MAP_SPACE", 0x03471): (186, "OrderedHashMapMap"),
("MAP_SPACE", 0x034c1): (186, "OrderedHashSetMap"),
("MAP_SPACE", 0x03511): (204, "PropertyArrayMap"),
("MAP_SPACE", 0x03561): (198, "SideEffectCallHandlerInfoMap"),
("MAP_SPACE", 0x035b1): (198, "SideEffectFreeCallHandlerInfoMap"),
("MAP_SPACE", 0x03601): (186, "SimpleNumberDictionaryMap"),
("MAP_SPACE", 0x03651): (183, "SloppyArgumentsElementsMap"),
("MAP_SPACE", 0x036a1): (207, "SmallOrderedHashMapMap"),
("MAP_SPACE", 0x036f1): (208, "SmallOrderedHashSetMap"),
("MAP_SPACE", 0x03741): (186, "StringTableMap"),
("MAP_SPACE", 0x03791): (211, "WeakFixedArrayMap"),
("MAP_SPACE", 0x037e1): (106, "NativeSourceStringMap"),
("MAP_SPACE", 0x03831): (64, "StringMap"),
("MAP_SPACE", 0x03881): (73, "ConsOneByteStringMap"),
("MAP_SPACE", 0x038d1): (65, "ConsStringMap"),
("MAP_SPACE", 0x03921): (77, "ThinOneByteStringMap"),
("MAP_SPACE", 0x03971): (69, "ThinStringMap"),
("MAP_SPACE", 0x039c1): (67, "SlicedStringMap"),
("MAP_SPACE", 0x03a11): (75, "SlicedOneByteStringMap"),
("MAP_SPACE", 0x03a61): (66, "ExternalStringMap"),
("MAP_SPACE", 0x03ab1): (82, "ExternalStringWithOneByteDataMap"),
("MAP_SPACE", 0x03b01): (74, "ExternalOneByteStringMap"),
("MAP_SPACE", 0x03b51): (98, "ShortExternalStringMap"),
("MAP_SPACE", 0x03ba1): (114, "ShortExternalStringWithOneByteDataMap"),
("MAP_SPACE", 0x03bf1): (0, "InternalizedStringMap"),
("MAP_SPACE", 0x03c41): (2, "ExternalInternalizedStringMap"),
("MAP_SPACE", 0x03c91): (18, "ExternalInternalizedStringWithOneByteDataMap"),
("MAP_SPACE", 0x03ce1): (10, "ExternalOneByteInternalizedStringMap"),
("MAP_SPACE", 0x03d31): (34, "ShortExternalInternalizedStringMap"),
("MAP_SPACE", 0x03d81): (50, "ShortExternalInternalizedStringWithOneByteDataMap"),
("MAP_SPACE", 0x03dd1): (42, "ShortExternalOneByteInternalizedStringMap"),
("MAP_SPACE", 0x03e21): (106, "ShortExternalOneByteStringMap"),
("MAP_SPACE", 0x03e71): (140, "FixedUint8ArrayMap"),
("MAP_SPACE", 0x03ec1): (139, "FixedInt8ArrayMap"),
("MAP_SPACE", 0x03f11): (142, "FixedUint16ArrayMap"),
("MAP_SPACE", 0x03f61): (141, "FixedInt16ArrayMap"),
("MAP_SPACE", 0x03fb1): (144, "FixedUint32ArrayMap"),
("MAP_SPACE", 0x04001): (143, "FixedInt32ArrayMap"),
("MAP_SPACE", 0x04051): (145, "FixedFloat32ArrayMap"),
("MAP_SPACE", 0x040a1): (146, "FixedFloat64ArrayMap"),
("MAP_SPACE", 0x040f1): (147, "FixedUint8ClampedArrayMap"),
("MAP_SPACE", 0x04141): (149, "FixedBigUint64ArrayMap"),
("MAP_SPACE", 0x04191): (148, "FixedBigInt64ArrayMap"),
("MAP_SPACE", 0x041e1): (173, "Tuple2Map"),
("MAP_SPACE", 0x04231): (171, "ScriptMap"),
("MAP_SPACE", 0x04281): (163, "InterceptorInfoMap"),
("MAP_SPACE", 0x042d1): (154, "AccessorInfoMap"),
("MAP_SPACE", 0x04321): (153, "AccessCheckInfoMap"),
("MAP_SPACE", 0x04371): (155, "AccessorPairMap"),
("MAP_SPACE", 0x043c1): (156, "AliasedArgumentsEntryMap"),
("MAP_SPACE", 0x04411): (157, "AllocationMementoMap"),
("MAP_SPACE", 0x04461): (158, "AllocationSiteMap"),
("MAP_SPACE", 0x044b1): (159, "AsyncGeneratorRequestMap"),
("MAP_SPACE", 0x04501): (160, "ContextExtensionMap"),
("MAP_SPACE", 0x04551): (161, "DebugInfoMap"),
("MAP_SPACE", 0x045a1): (162, "FunctionTemplateInfoMap"),
("MAP_SPACE", 0x045f1): (164, "InterpreterDataMap"),
("MAP_SPACE", 0x04641): (165, "ModuleInfoEntryMap"),
("MAP_SPACE", 0x04691): (166, "ModuleMap"),
("MAP_SPACE", 0x046e1): (167, "ObjectTemplateInfoMap"),
("MAP_SPACE", 0x04731): (168, "PromiseCapabilityMap"),
("MAP_SPACE", 0x04781): (169, "PromiseReactionMap"),
("MAP_SPACE", 0x047d1): (170, "PrototypeInfoMap"),
("MAP_SPACE", 0x04821): (172, "StackFrameInfoMap"),
("MAP_SPACE", 0x04871): (174, "Tuple3Map"),
("MAP_SPACE", 0x048c1): (175, "WasmCompiledModuleMap"),
("MAP_SPACE", 0x04911): (176, "WasmDebugInfoMap"),
("MAP_SPACE", 0x04961): (177, "WasmSharedModuleDataMap"),
("MAP_SPACE", 0x049b1): (178, "CallableTaskMap"),
("MAP_SPACE", 0x04a01): (179, "CallbackTaskMap"),
("MAP_SPACE", 0x04a51): (180, "PromiseFulfillReactionJobTaskMap"),
("MAP_SPACE", 0x04aa1): (181, "PromiseRejectReactionJobTaskMap"),
("MAP_SPACE", 0x04af1): (182, "PromiseResolveThenableJobTaskMap"),
("MAP_SPACE", 0x02259): (132, "MetaMap"),
("MAP_SPACE", 0x022b1): (131, "NullMap"),
("MAP_SPACE", 0x02309): (185, "DescriptorArrayMap"),
("MAP_SPACE", 0x02361): (183, "FixedArrayMap"),
("MAP_SPACE", 0x023b9): (152, "OnePointerFillerMap"),
("MAP_SPACE", 0x02411): (152, "TwoPointerFillerMap"),
("MAP_SPACE", 0x02469): (131, "UninitializedMap"),
("MAP_SPACE", 0x024c1): (8, "OneByteInternalizedStringMap"),
("MAP_SPACE", 0x02519): (131, "UndefinedMap"),
("MAP_SPACE", 0x02571): (129, "HeapNumberMap"),
("MAP_SPACE", 0x025c9): (131, "TheHoleMap"),
("MAP_SPACE", 0x02621): (131, "BooleanMap"),
("MAP_SPACE", 0x02679): (136, "ByteArrayMap"),
("MAP_SPACE", 0x026d1): (183, "FixedCOWArrayMap"),
("MAP_SPACE", 0x02729): (186, "HashTableMap"),
("MAP_SPACE", 0x02781): (128, "SymbolMap"),
("MAP_SPACE", 0x027d9): (72, "OneByteStringMap"),
("MAP_SPACE", 0x02831): (187, "ScopeInfoMap"),
("MAP_SPACE", 0x02889): (206, "SharedFunctionInfoMap"),
("MAP_SPACE", 0x028e1): (133, "CodeMap"),
("MAP_SPACE", 0x02939): (193, "FunctionContextMap"),
("MAP_SPACE", 0x02991): (199, "CellMap"),
("MAP_SPACE", 0x029e9): (210, "WeakCellMap"),
("MAP_SPACE", 0x02a41): (205, "GlobalPropertyCellMap"),
("MAP_SPACE", 0x02a99): (135, "ForeignMap"),
("MAP_SPACE", 0x02af1): (188, "TransitionArrayMap"),
("MAP_SPACE", 0x02b49): (202, "FeedbackVectorMap"),
("MAP_SPACE", 0x02ba1): (131, "ArgumentsMarkerMap"),
("MAP_SPACE", 0x02bf9): (131, "ExceptionMap"),
("MAP_SPACE", 0x02c51): (131, "TerminationExceptionMap"),
("MAP_SPACE", 0x02ca9): (131, "OptimizedOutMap"),
("MAP_SPACE", 0x02d01): (131, "StaleRegisterMap"),
("MAP_SPACE", 0x02d59): (195, "NativeContextMap"),
("MAP_SPACE", 0x02db1): (194, "ModuleContextMap"),
("MAP_SPACE", 0x02e09): (192, "EvalContextMap"),
("MAP_SPACE", 0x02e61): (196, "ScriptContextMap"),
("MAP_SPACE", 0x02eb9): (189, "BlockContextMap"),
("MAP_SPACE", 0x02f11): (190, "CatchContextMap"),
("MAP_SPACE", 0x02f69): (197, "WithContextMap"),
("MAP_SPACE", 0x02fc1): (191, "DebugEvaluateContextMap"),
("MAP_SPACE", 0x03019): (183, "ScriptContextTableMap"),
("MAP_SPACE", 0x03071): (151, "FeedbackMetadataArrayMap"),
("MAP_SPACE", 0x030c9): (183, "ArrayListMap"),
("MAP_SPACE", 0x03121): (130, "BigIntMap"),
("MAP_SPACE", 0x03179): (184, "BoilerplateDescriptionMap"),
("MAP_SPACE", 0x031d1): (137, "BytecodeArrayMap"),
("MAP_SPACE", 0x03229): (200, "CodeDataContainerMap"),
("MAP_SPACE", 0x03281): (1057, "ExternalMap"),
("MAP_SPACE", 0x032d9): (150, "FixedDoubleArrayMap"),
("MAP_SPACE", 0x03331): (186, "GlobalDictionaryMap"),
("MAP_SPACE", 0x03389): (201, "ManyClosuresCellMap"),
("MAP_SPACE", 0x033e1): (1072, "JSMessageObjectMap"),
("MAP_SPACE", 0x03439): (183, "ModuleInfoMap"),
("MAP_SPACE", 0x03491): (134, "MutableHeapNumberMap"),
("MAP_SPACE", 0x034e9): (186, "NameDictionaryMap"),
("MAP_SPACE", 0x03541): (201, "NoClosuresCellMap"),
("MAP_SPACE", 0x03599): (186, "NumberDictionaryMap"),
("MAP_SPACE", 0x035f1): (201, "OneClosureCellMap"),
("MAP_SPACE", 0x03649): (186, "OrderedHashMapMap"),
("MAP_SPACE", 0x036a1): (186, "OrderedHashSetMap"),
("MAP_SPACE", 0x036f9): (204, "PropertyArrayMap"),
("MAP_SPACE", 0x03751): (198, "SideEffectCallHandlerInfoMap"),
("MAP_SPACE", 0x037a9): (198, "SideEffectFreeCallHandlerInfoMap"),
("MAP_SPACE", 0x03801): (186, "SimpleNumberDictionaryMap"),
("MAP_SPACE", 0x03859): (183, "SloppyArgumentsElementsMap"),
("MAP_SPACE", 0x038b1): (207, "SmallOrderedHashMapMap"),
("MAP_SPACE", 0x03909): (208, "SmallOrderedHashSetMap"),
("MAP_SPACE", 0x03961): (186, "StringTableMap"),
("MAP_SPACE", 0x039b9): (211, "WeakFixedArrayMap"),
("MAP_SPACE", 0x03a11): (106, "NativeSourceStringMap"),
("MAP_SPACE", 0x03a69): (64, "StringMap"),
("MAP_SPACE", 0x03ac1): (73, "ConsOneByteStringMap"),
("MAP_SPACE", 0x03b19): (65, "ConsStringMap"),
("MAP_SPACE", 0x03b71): (77, "ThinOneByteStringMap"),
("MAP_SPACE", 0x03bc9): (69, "ThinStringMap"),
("MAP_SPACE", 0x03c21): (67, "SlicedStringMap"),
("MAP_SPACE", 0x03c79): (75, "SlicedOneByteStringMap"),
("MAP_SPACE", 0x03cd1): (66, "ExternalStringMap"),
("MAP_SPACE", 0x03d29): (82, "ExternalStringWithOneByteDataMap"),
("MAP_SPACE", 0x03d81): (74, "ExternalOneByteStringMap"),
("MAP_SPACE", 0x03dd9): (98, "ShortExternalStringMap"),
("MAP_SPACE", 0x03e31): (114, "ShortExternalStringWithOneByteDataMap"),
("MAP_SPACE", 0x03e89): (0, "InternalizedStringMap"),
("MAP_SPACE", 0x03ee1): (2, "ExternalInternalizedStringMap"),
("MAP_SPACE", 0x03f39): (18, "ExternalInternalizedStringWithOneByteDataMap"),
("MAP_SPACE", 0x03f91): (10, "ExternalOneByteInternalizedStringMap"),
("MAP_SPACE", 0x03fe9): (34, "ShortExternalInternalizedStringMap"),
("MAP_SPACE", 0x04041): (50, "ShortExternalInternalizedStringWithOneByteDataMap"),
("MAP_SPACE", 0x04099): (42, "ShortExternalOneByteInternalizedStringMap"),
("MAP_SPACE", 0x040f1): (106, "ShortExternalOneByteStringMap"),
("MAP_SPACE", 0x04149): (140, "FixedUint8ArrayMap"),
("MAP_SPACE", 0x041a1): (139, "FixedInt8ArrayMap"),
("MAP_SPACE", 0x041f9): (142, "FixedUint16ArrayMap"),
("MAP_SPACE", 0x04251): (141, "FixedInt16ArrayMap"),
("MAP_SPACE", 0x042a9): (144, "FixedUint32ArrayMap"),
("MAP_SPACE", 0x04301): (143, "FixedInt32ArrayMap"),
("MAP_SPACE", 0x04359): (145, "FixedFloat32ArrayMap"),
("MAP_SPACE", 0x043b1): (146, "FixedFloat64ArrayMap"),
("MAP_SPACE", 0x04409): (147, "FixedUint8ClampedArrayMap"),
("MAP_SPACE", 0x04461): (149, "FixedBigUint64ArrayMap"),
("MAP_SPACE", 0x044b9): (148, "FixedBigInt64ArrayMap"),
("MAP_SPACE", 0x04511): (173, "Tuple2Map"),
("MAP_SPACE", 0x04569): (171, "ScriptMap"),
("MAP_SPACE", 0x045c1): (163, "InterceptorInfoMap"),
("MAP_SPACE", 0x04619): (154, "AccessorInfoMap"),
("MAP_SPACE", 0x04671): (153, "AccessCheckInfoMap"),
("MAP_SPACE", 0x046c9): (155, "AccessorPairMap"),
("MAP_SPACE", 0x04721): (156, "AliasedArgumentsEntryMap"),
("MAP_SPACE", 0x04779): (157, "AllocationMementoMap"),
("MAP_SPACE", 0x047d1): (158, "AllocationSiteMap"),
("MAP_SPACE", 0x04829): (159, "AsyncGeneratorRequestMap"),
("MAP_SPACE", 0x04881): (160, "ContextExtensionMap"),
("MAP_SPACE", 0x048d9): (161, "DebugInfoMap"),
("MAP_SPACE", 0x04931): (162, "FunctionTemplateInfoMap"),
("MAP_SPACE", 0x04989): (164, "InterpreterDataMap"),
("MAP_SPACE", 0x049e1): (165, "ModuleInfoEntryMap"),
("MAP_SPACE", 0x04a39): (166, "ModuleMap"),
("MAP_SPACE", 0x04a91): (167, "ObjectTemplateInfoMap"),
("MAP_SPACE", 0x04ae9): (168, "PromiseCapabilityMap"),
("MAP_SPACE", 0x04b41): (169, "PromiseReactionMap"),
("MAP_SPACE", 0x04b99): (170, "PrototypeInfoMap"),
("MAP_SPACE", 0x04bf1): (172, "StackFrameInfoMap"),
("MAP_SPACE", 0x04c49): (174, "Tuple3Map"),
("MAP_SPACE", 0x04ca1): (175, "WasmCompiledModuleMap"),
("MAP_SPACE", 0x04cf9): (176, "WasmDebugInfoMap"),
("MAP_SPACE", 0x04d51): (177, "WasmSharedModuleDataMap"),
("MAP_SPACE", 0x04da9): (178, "CallableTaskMap"),
("MAP_SPACE", 0x04e01): (179, "CallbackTaskMap"),
("MAP_SPACE", 0x04e59): (180, "PromiseFulfillReactionJobTaskMap"),
("MAP_SPACE", 0x04eb1): (181, "PromiseRejectReactionJobTaskMap"),
("MAP_SPACE", 0x04f09): (182, "PromiseResolveThenableJobTaskMap"),
}
# List of known V8 objects.