Bug 1874684 - Part 32: Lazily add 'largestUnit' for CalendarDateUntil. r=sfink
commit4b17e1f71d4532e6a9ed32fa621ffa06e79aa377
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:29 +0000 (15 18:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:29 +0000 (15 18:27 +0000)
tree4f9d67156d3a83033bde4ff61e6411d9a1393e8a
parent77145ec6376066e3dc7f421176da7c1c3c4b28f0
Bug 1874684 - Part 32: Lazily add 'largestUnit' for CalendarDateUntil. r=sfink

Move the `DefineDataProperty` call into the `CalendarDateUntilSlow` slow-path.

Depends on D204395

Differential Revision: https://phabricator.services.mozilla.com/D204396
js/src/builtin/temporal/Calendar.cpp
js/src/builtin/temporal/Calendar.h
js/src/builtin/temporal/PlainDate.cpp
js/src/builtin/temporal/PlainDate.h
js/src/builtin/temporal/PlainDateTime.cpp
js/src/builtin/temporal/PlainYearMonth.cpp