Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pleath authored and rajeshpeter committed Apr 9, 2020
1 parent cd58e8e commit 892e45f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Runtime/Types/PathTypeHandler.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 892e45f

Please sign in to comment.