Skip to content

Commit 5d23077

Browse files
committed
[1.10>master] [MERGE #5616 @pleath] OS#18658076: Transfer function object type list to the new FunctionProxy when a cached function is deserialized
Merge pull request #5616 from pleath:18658076
2 parents 9494769 + 97eeb2f commit 5d23077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Runtime/Base/FunctionBody.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,8 @@ namespace Js
14741474
CopyDeferParseField(deferredPrototypeType);
14751475
CopyDeferParseField(undeferredFunctionType);
14761476
#undef CopyDeferParseField
1477+
1478+
other->SetFunctionObjectTypeList(this->GetFunctionObjectTypeList());
14771479
}
14781480

14791481
void ParseableFunctionInfo::Copy(ParseableFunctionInfo * other)
@@ -1508,8 +1510,6 @@ namespace Js
15081510
CopyDeferParseField(m_isAsmjsMode);
15091511
CopyDeferParseField(m_isAsmJsFunction);
15101512

1511-
other->SetFunctionObjectTypeList(this->GetFunctionObjectTypeList());
1512-
15131513
PropertyId * propertyIds = this->GetPropertyIdsForScopeSlotArray();
15141514
if (propertyIds != nullptr)
15151515
{

0 commit comments

Comments
 (0)