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
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

@ -24,7 +24,8 @@ namespace JS::Bytecode {
O(MathRound, math_round, Math, round, 1) \
O(MathSqrt, math_sqrt, Math, sqrt, 1) \
O(MathSin, math_sin, Math, sin, 1) \
O(MathCos, math_cos, Math, cos, 1)
O(MathCos, math_cos, Math, cos, 1) \
O(MathTan, math_tan, Math, tan, 1)
enum class Builtin : u8 {
#define DEFINE_BUILTIN_ENUM(name, ...) name,