Skip to content

Commit 2c6efb5

Browse files
committed
Fixing build break
This fix is required in master, but not in 1.9
1 parent 865f63b commit 2c6efb5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/Runtime/Library/ScriptFunction.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,6 @@ namespace Js
121121

122122
pfuncScript->SetHasSuperReference(hasSuperReference);
123123

124-
ScriptFunctionType *scFuncType = functionProxy->GetUndeferredFunctionType();
125-
if (scFuncType)
126-
{
127-
Assert(pfuncScript->GetType() == functionProxy->GetDeferredPrototypeType());
128-
pfuncScript->GetTypeHandler()->EnsureObjectReady(pfuncScript);
129-
}
130-
131-
132124
JS_ETW(EventWriteJSCRIPT_RECYCLER_ALLOCATE_FUNCTION(pfuncScript, EtwTrace::GetFunctionId(functionProxy)));
133125

134126
return pfuncScript;

0 commit comments

Comments
 (0)