⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280577 in webkit


Ignore:
Timestamp:
Aug 2, 2021, 6:11:27 PM (5 years ago)
Author:
ysuzuki@apple.com
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r280570 r280577  
     12021-08-02  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, fix accidental narrowing
     4        https://bugs.webkit.org/show_bug.cgi?id=228613
     5
     6        Note that this narrowing does not matter semantically since we mask this value with 0x7f.
     7
     8        * yarr/YarrJIT.h:
     9        (JSC::Yarr::BoyerMooreBitmap::addCharacters):
     10
    1112021-08-02  Yusuke Suzuki  <ysuzuki@apple.com>
    212
  • trunk/Source/JavaScriptCore/yarr/YarrJIT.h

    r280570 r280577  
    9696            return;
    9797        }
    98         for (UChar character : characters)
     98        for (UChar32 character : characters)
    9999            add(character);
    100100    }
Note: See TracChangeset for help on using the changeset viewer.