1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

LibJS/Bytecode: Move NewFunction impl into CommonImplementations

This commit is contained in:
Andreas Kling 2023-10-21 15:45:10 +02:00
parent a913ac5799
commit 9f61cda27e
3 changed files with 23 additions and 14 deletions

View file

@ -22,5 +22,6 @@ template<typename InstructionType>
ThrowCompletionOr<void> throw_if_needed_for_call(Interpreter&, InstructionType const&, Value callee);
ThrowCompletionOr<Value> typeof_variable(VM&, DeprecatedFlyString const&);
ThrowCompletionOr<void> set_variable(VM&, DeprecatedFlyString const&, Value, Op::EnvironmentMode, Op::SetVariable::InitializationMode);
Value new_function(VM&, FunctionExpression const&, Optional<IdentifierTableIndex> const& lhs_name, Optional<Register> const& home_object);
}