LibJS/Bytecode: Move throw_if_needed_for_call to CommonImplementations

This commit is contained in:
Andreas Kling 2023-10-20 13:22:37 +02:00
commit 7fc35fde09
Notes: sideshowbarker 2024-07-17 05:01:20 +09:00
3 changed files with 26 additions and 20 deletions

View file

@ -19,5 +19,7 @@ ThrowCompletionOr<Value> get_global(Bytecode::Interpreter&, IdentifierTableIndex
ThrowCompletionOr<void> put_by_property_key(VM&, Value base, Value this_value, Value value, PropertyKey name, Op::PropertyKind kind);
template<typename InstructionType>
ThrowCompletionOr<Value> perform_call(Interpreter&, InstructionType const&, Value callee, MarkedVector<Value> argument_values);
template<typename InstructionType>
ThrowCompletionOr<void> throw_if_needed_for_call(Interpreter&, InstructionType const&, Value callee);
}