LibJS: Set arguments_object_needed = false if scope_body == nullptr

For obvious reasons.
This commit is contained in:
Linus Groh 2021-10-05 00:04:25 +01:00
parent b2bded390a
commit fcb355f193
Notes: sideshowbarker 2024-07-18 03:02:40 +09:00

View file

@ -186,6 +186,8 @@ ThrowCompletionOr<void> ECMAScriptFunctionObject::function_declaration_instantia
return IterationDecision::Continue;
});
}
} else {
arguments_object_needed = false;
}
Environment* environment;