Ignore:
Timestamp:
Feb 9, 2019, 3:16:01 PM (6 years ago)
Author:
[email protected]
Message:

Unreviewed, Lexer should use isLatin1 implementation in WTF
https://bugs.webkit.org/show_bug.cgi?id=194466

Follow-up after r241233 pointed by Darin.

  • parser/Lexer.cpp:

(JSC::isLatin1): Deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/Lexer.cpp

    r241104 r241246  
    735735}
    736736
    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 
    752737static inline bool isIdentStart(LChar c)
    753738{
Note: See TracChangeset for help on using the changeset viewer.