Changeset 242718 in webkit
- Timestamp:
- Mar 11, 2019, 10:54:59 AM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/IntlDateTimeFormat.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r242717 r242718 1 2019-03-11 Robin Morisset <rmorisset@apple.com> 2 3 IntlDateTimeFormat can be shrunk by 32 bytes 4 https://bugs.webkit.org/show_bug.cgi?id=195504 5 6 Reviewed by Darin Adler. 7 8 * runtime/IntlDateTimeFormat.h: 9 1 10 2019-03-11 Robin Morisset <rmorisset@apple.com> 2 11 -
trunk/Source/JavaScriptCore/runtime/IntlDateTimeFormat.h
r234475 r242718 65 65 66 66 private: 67 enum class Weekday { None, Narrow, Short, Long };68 enum class Era { None, Narrow, Short, Long };69 enum class Year { None, TwoDigit, Numeric };70 enum class Month { None, TwoDigit, Numeric, Narrow, Short, Long };71 enum class Day { None, TwoDigit, Numeric };72 enum class Hour { None, TwoDigit, Numeric };73 enum class Minute { None, TwoDigit, Numeric };74 enum class Second { None, TwoDigit, Numeric };75 enum class TimeZoneName { None, Short, Long };67 enum class Weekday : uint8_t { None, Narrow, Short, Long }; 68 enum class Era : uint8_t { None, Narrow, Short, Long }; 69 enum class Year : uint8_t { None, TwoDigit, Numeric }; 70 enum class Month : uint8_t { None, TwoDigit, Numeric, Narrow, Short, Long }; 71 enum class Day : uint8_t { None, TwoDigit, Numeric }; 72 enum class Hour : uint8_t { None, TwoDigit, Numeric }; 73 enum class Minute : uint8_t { None, TwoDigit, Numeric }; 74 enum class Second : uint8_t { None, TwoDigit, Numeric }; 75 enum class TimeZoneName : uint8_t { None, Short, Long }; 76 76 77 77 struct UDateFormatDeleter { … … 90 90 static ASCIILiteral timeZoneNameString(TimeZoneName); 91 91 92 bool m_initializedDateTimeFormat { false };93 92 WriteBarrier<JSBoundFunction> m_boundFormat; 94 93 std::unique_ptr<UDateFormat, UDateFormatDeleter> m_dateFormat; … … 108 107 Second m_second { Second::None }; 109 108 TimeZoneName m_timeZoneName { TimeZoneName::None }; 109 bool m_initializedDateTimeFormat { false }; 110 110 111 111 #if JSC_ICU_HAS_UFIELDPOSITER
Note:
See TracChangeset
for help on using the changeset viewer.