Skip to content

Commit

Permalink
Fixing build break
Browse files Browse the repository at this point in the history
This fix is required in master, but not in 1.9
  • Loading branch information
MSLaguana committed May 8, 2018
1 parent 865f63b commit 2c6efb5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/Runtime/Library/ScriptFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ namespace Js

pfuncScript->SetHasSuperReference(hasSuperReference);

ScriptFunctionType *scFuncType = functionProxy->GetUndeferredFunctionType();
if (scFuncType)
{
Assert(pfuncScript->GetType() == functionProxy->GetDeferredPrototypeType());
pfuncScript->GetTypeHandler()->EnsureObjectReady(pfuncScript);
}


JS_ETW(EventWriteJSCRIPT_RECYCLER_ALLOCATE_FUNCTION(pfuncScript, EtwTrace::GetFunctionId(functionProxy)));

return pfuncScript;
Expand Down

0 comments on commit 2c6efb5

Please sign in to comment.