File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5322,7 +5322,7 @@ namespace Js
5322
5322
{
5323
5323
function->ChangeType ();
5324
5324
function->SetEntryPoint (scriptContext->CurrentCrossSiteThunk );
5325
- if (functionProxy && !PHASE_OFF1 (ShareCrossSiteFuncTypesPhase))
5325
+ if (functionProxy && functionProxy-> HasParseableInfo () && !PHASE_OFF1 (ShareCrossSiteFuncTypesPhase))
5326
5326
{
5327
5327
function->ShareType ();
5328
5328
functionProxy->SetCrossSiteDeferredFunctionType (UnsafeVarTo<ScriptFunction>(function)->GetScriptFunctionType ());
@@ -5355,7 +5355,7 @@ namespace Js
5355
5355
function->ChangeType ();
5356
5356
}
5357
5357
function->SetEntryPoint (scriptContext->CurrentCrossSiteThunk );
5358
- if (functionProxy && function->GetTypeHandler ()->GetMayBecomeShared () && !PHASE_OFF1 (ShareCrossSiteFuncTypesPhase))
5358
+ if (functionProxy && functionProxy-> HasParseableInfo () && function->GetTypeHandler ()->GetMayBecomeShared () && !PHASE_OFF1 (ShareCrossSiteFuncTypesPhase))
5359
5359
{
5360
5360
function->ShareType ();
5361
5361
functionProxy->SetCrossSiteUndeferredFunctionType (UnsafeVarTo<ScriptFunction>(function)->GetScriptFunctionType ());
You can’t perform that action at this time.
0 commit comments