Skip to content

Commit 4bc6391

Browse files
committed
Re-enable depolymorphication of object property references within inlinees
1 parent 4b8ec55 commit 4bc6391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Backend/ObjTypeSpecFldInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ ObjTypeSpecFldInfo* ObjTypeSpecFldInfo::CreateFrom(uint id, Js::PolymorphicInlin
742742
uint16 firstNonEmptyCacheIndex = UINT16_MAX;
743743
uint16 slotIndex = 0;
744744
bool areEquivalent = true;
745-
bool canDepolymorphize = topFunctionBody != functionBody && PHASE_ON(Js::DepolymorphizeInlineesPhase, topFunctionBody);
745+
bool canDepolymorphize = topFunctionBody != functionBody && !PHASE_OFF(Js::DepolymorphizeInlineesPhase, topFunctionBody);
746746
bool usesAuxSlot = false;
747747
bool isProto = false;
748748
bool isAccessor = false;

0 commit comments

Comments
 (0)