Bug 1874684 - Part 15: Prefer int64_t in Add24HourDaysToNormalizedTimeDuration. r...
commitfb66d8df7ad8057f37f777076ca9e9d56ff4fe23
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:23 +0000 (15 18:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:23 +0000 (15 18:27 +0000)
tree2e7aa8c9533cd1510c428d3e84ddd5bf98883072
parent8c9d45d6215534444524dc7eab9d00b8c900791d
Bug 1874684 - Part 15: Prefer int64_t in Add24HourDaysToNormalizedTimeDuration. r=sfink

Switch to `int64_t` to avoid some unnecessary `int64_t -> double -> int64_t` conversions.

Differential Revision: https://phabricator.services.mozilla.com/D198549
js/src/builtin/temporal/Duration.cpp
js/src/builtin/temporal/Duration.h