mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 18:30:27 +00:00
When the asmint computes a double result for Add, Sub, Mul, Math.floor, Math.ceil, or Math.sqrt, try to store it as Int32 if the value is a whole number in [INT32_MIN, INT32_MAX] and not -0.0. This mirrors the JS::Value(double) constructor and allows downstream int32 fast paths to fire. Also add label uniquification to the DSL macro expander so the same macro can be used multiple times in one handler without label collisions. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||