mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-14 13:01:55 +00:00
LibJS: Use CallBuiltin for Math.tan()
This commit is contained in:
parent
878cc16d7a
commit
1647d7b34c
Notes:
github-actions[bot]
2025-05-26 19:53:42 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 1647d7b34c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4884
Reviewed-by: https://github.com/awesomekling ✅
4 changed files with 13 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue