diff --git a/lib/Runtime/Types/PathTypeHandler.cpp b/lib/Runtime/Types/PathTypeHandler.cpp index 57cd0480c86..c329b40cd95 100644 --- a/lib/Runtime/Types/PathTypeHandler.cpp +++ b/lib/Runtime/Types/PathTypeHandler.cpp @@ -2013,6 +2013,16 @@ namespace Js { newSetters = this->UpdateSetterSlots(recycler, oldSetters, oldPathSize, newTypePath->GetPathSize()); } + +#if ENABLE_FIXED_FIELDS +#ifdef SUPPORT_FIXED_FIELDS_ON_PATH_TYPES + if (PathTypeHandlerBase::FixPropsOnPathTypes()) + { + Assert(this->HasSingletonInstanceOnlyIfNeeded()); + this->GetTypePath()->ClearSingletonInstanceIfSame(instance); + } +#endif +#endif } else if (growing) {