mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue