LibJS: Use CallBuiltin for Math.tan()

This commit is contained in:
Aliaksandr Kalenik 2025-05-26 14:07:59 +03:00 committed by Jelle Raaijmakers
parent 878cc16d7a
commit 1647d7b34c
Notes: github-actions[bot] 2025-05-26 19:53:42 +00:00
4 changed files with 13 additions and 4 deletions

View file

@ -2823,6 +2823,8 @@ static ThrowCompletionOr<Value> dispatch_builtin_call(Bytecode::Interpreter& int
return TRY(MathObject::sin_impl(interpreter.vm(), interpreter.get(arguments[0])));
case Builtin::MathCos:
return TRY(MathObject::cos_impl(interpreter.vm(), interpreter.get(arguments[0])));
case Builtin::MathTan:
return TRY(MathObject::tan_impl(interpreter.vm(), interpreter.get(arguments[0])));
case Bytecode::Builtin::__Count:
VERIFY_NOT_REACHED();
}