Browse Source

Disable depolymorphication by default pending resolution of issues related to shared inline caches

Paul Leathers 7 years ago
parent
commit
30f91acee0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Backend/ObjTypeSpecFldInfo.cpp

+ 1 - 1
lib/Backend/ObjTypeSpecFldInfo.cpp

@@ -742,7 +742,7 @@ ObjTypeSpecFldInfo* ObjTypeSpecFldInfo::CreateFrom(uint id, Js::PolymorphicInlin
     uint16 firstNonEmptyCacheIndex = UINT16_MAX;
     uint16 slotIndex = 0;
     bool areEquivalent = true;
-    bool canDepolymorphize = topFunctionBody != functionBody && !PHASE_OFF(Js::DepolymorphizeInlineesPhase, topFunctionBody);
+    bool canDepolymorphize = topFunctionBody != functionBody && PHASE_ON(Js::DepolymorphizeInlineesPhase, topFunctionBody);
     bool usesAuxSlot = false;
     bool isProto = false;
     bool isAccessor = false;