[JSC] Temporal tweaks to pass more test262 tests
Created attachment 440438 [details] Patch
Created attachment 440443 [details] Patch
Comment on attachment 440443 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440443&action=review Quick comment > Source/JavaScriptCore/runtime/TemporalObject.h:67 > +// https://tc39.es/proposal-temporal/#table-temporal-temporaldurationlike-properties > +static constexpr TemporalUnit temporalUnitsInTableOrder[numberOfTemporalUnits] = { > + TemporalUnit::Day, > + TemporalUnit::Hour, > + TemporalUnit::Microsecond, > + TemporalUnit::Millisecond, > + TemporalUnit::Minute, > + TemporalUnit::Month, > + TemporalUnit::Nanosecond, > + TemporalUnit::Second, > + TemporalUnit::Week, > + TemporalUnit::Year, > +}; Let's put the array content to cpp file to avoid materializing the same constant array multiple times. This will enlarge binary size.
Created attachment 440451 [details] Patch
Comment on attachment 440451 [details] Patch r=me
Committed r283705 (242631@main): <https://commits.webkit.org/242631@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440451 [details].
<rdar://problem/83975733>