Title: [241246] trunk/Source/_javascript_Core
Revision
241246
Author
[email protected]
Date
2019-02-09 15:16:01 -0800 (Sat, 09 Feb 2019)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (241245 => 241246)


--- trunk/Source/_javascript_Core/ChangeLog	2019-02-09 21:00:10 UTC (rev 241245)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-02-09 23:16:01 UTC (rev 241246)
@@ -1,3 +1,13 @@
+2019-02-09  Yusuke Suzuki  <[email protected]>
+
+        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.
+
 2019-02-09  Darin Adler  <[email protected]>
 
         Eliminate unnecessary String temporaries by using StringConcatenateNumbers

Modified: trunk/Source/_javascript_Core/parser/Lexer.cpp (241245 => 241246)


--- trunk/Source/_javascript_Core/parser/Lexer.cpp	2019-02-09 21:00:10 UTC (rev 241245)
+++ trunk/Source/_javascript_Core/parser/Lexer.cpp	2019-02-09 23:16:01 UTC (rev 241246)
@@ -734,21 +734,6 @@
     return u_hasBinaryProperty(c, UCHAR_ID_START);
 }
 
-static ALWAYS_INLINE bool isLatin1(LChar)
-{
-    return true;
-}
-
-static ALWAYS_INLINE bool isLatin1(UChar c)
-{
-    return c < 256;
-}
-
-static ALWAYS_INLINE bool isLatin1(UChar32 c)
-{
-    return !(c & ~0xFF);
-}
-
 static inline bool isIdentStart(LChar c)
 {
     return typesOfLatin1Characters[c] == CharacterIdentifierStart;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to