Changeset 241246 in webkit


Ignore:
Timestamp:
Feb 9, 2019 3:16:01 PM (5 years ago)
Author:
ysuzuki@apple.com
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.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r241245 r241246  
     12019-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
    1112019-02-09  Darin Adler  <darin@apple.com>
    212
  • 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.