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

LibJS/Bytecode: Move SetVariable implementation to CommonImplementations

This commit is contained in:
Andreas Kling 2023-10-21 15:30:39 +02:00
parent e946440ed3
commit 393d90abe1
4 changed files with 24 additions and 10 deletions

View file

@ -21,5 +21,6 @@ ThrowCompletionOr<Value> perform_call(Interpreter&, Value this_value, Op::CallTy
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);
}