Changeset 242717 in webkit
- Timestamp:
- Mar 11, 2019, 10:39:35 AM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/IntlCollator.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r242716 r242717 1 2019-03-11 Robin Morisset <rmorisset@apple.com> 2 3 IntlCollator can be shrunk by 16 bytes 4 https://bugs.webkit.org/show_bug.cgi?id=195503 5 6 Reviewed by Darin Adler. 7 8 * runtime/IntlCollator.h: 9 1 10 2019-03-11 Robin Morisset <rmorisset@apple.com> 2 11 -
trunk/Source/JavaScriptCore/runtime/IntlCollator.h
r233122 r242717 60 60 61 61 private: 62 enum class Usage { Sort, Search };63 enum class Sensitivity { Base, Accent, Case, Variant };64 enum class CaseFirst { Upper, Lower, False };62 enum class Usage : uint8_t { Sort, Search }; 63 enum class Sensitivity : uint8_t { Base, Accent, Case, Variant }; 64 enum class CaseFirst : uint8_t { Upper, Lower, False }; 65 65 66 66 struct UCollatorDeleter { … … 73 73 static ASCIILiteral caseFirstString(CaseFirst); 74 74 75 Usage m_usage;76 75 String m_locale; 77 76 String m_collation; 77 WriteBarrier<JSBoundFunction> m_boundCompare; 78 std::unique_ptr<UCollator, UCollatorDeleter> m_collator; 79 Usage m_usage; 78 80 Sensitivity m_sensitivity; 79 81 CaseFirst m_caseFirst; 80 WriteBarrier<JSBoundFunction> m_boundCompare;81 std::unique_ptr<UCollator, UCollatorDeleter> m_collator;82 82 bool m_numeric; 83 83 bool m_ignorePunctuation;
Note:
See TracChangeset
for help on using the changeset viewer.