Changeset 241246 in webkit
- Timestamp:
- Feb 9, 2019 3:16:01 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r241245 r241246 1 2019-02-09 Yusuke Suzuki <ysuzuki@apple.com> 2 3 Unreviewed, Lexer should use isLatin1 implementation in WTF 4 https://bugs.webkit.org/show_bug.cgi?id=194466 5 6 Follow-up after r241233 pointed by Darin. 7 8 * parser/Lexer.cpp: 9 (JSC::isLatin1): Deleted. 10 1 11 2019-02-09 Darin Adler <darin@apple.com> 2 12 -
trunk/Source/JavaScriptCore/parser/Lexer.cpp
r241104 r241246 735 735 } 736 736 737 static ALWAYS_INLINE bool isLatin1(LChar)738 {739 return true;740 }741 742 static ALWAYS_INLINE bool isLatin1(UChar c)743 {744 return c < 256;745 }746 747 static ALWAYS_INLINE bool isLatin1(UChar32 c)748 {749 return !(c & ~0xFF);750 }751 752 737 static inline bool isIdentStart(LChar c) 753 738 {
Note: See TracChangeset
for help on using the changeset viewer.