Title: [280577] trunk/Source/_javascript_Core
Revision
280577
Author
[email protected]
Date
2021-08-02 18:11:27 -0700 (Mon, 02 Aug 2021)

Log Message

Unreviewed, fix accidental narrowing
https://bugs.webkit.org/show_bug.cgi?id=228613

Note that this narrowing does not matter semantically since we mask this value with 0x7f.

* yarr/YarrJIT.h:
(JSC::Yarr::BoyerMooreBitmap::addCharacters):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (280576 => 280577)


--- trunk/Source/_javascript_Core/ChangeLog	2021-08-03 01:05:39 UTC (rev 280576)
+++ trunk/Source/_javascript_Core/ChangeLog	2021-08-03 01:11:27 UTC (rev 280577)
@@ -1,5 +1,15 @@
 2021-08-02  Yusuke Suzuki  <[email protected]>
 
+        Unreviewed, fix accidental narrowing
+        https://bugs.webkit.org/show_bug.cgi?id=228613
+
+        Note that this narrowing does not matter semantically since we mask this value with 0x7f.
+
+        * yarr/YarrJIT.h:
+        (JSC::Yarr::BoyerMooreBitmap::addCharacters):
+
+2021-08-02  Yusuke Suzuki  <[email protected]>
+
         [JSC] Yarr BoyerMoore search should support character-class
         https://bugs.webkit.org/show_bug.cgi?id=228613
 

Modified: trunk/Source/_javascript_Core/yarr/YarrJIT.h (280576 => 280577)


--- trunk/Source/_javascript_Core/yarr/YarrJIT.h	2021-08-03 01:05:39 UTC (rev 280576)
+++ trunk/Source/_javascript_Core/yarr/YarrJIT.h	2021-08-03 01:11:27 UTC (rev 280577)
@@ -95,7 +95,7 @@
             setAll();
             return;
         }
-        for (UChar character : characters)
+        for (UChar32 character : characters)
             add(character);
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to