[Webkit-unassigned] [Bug 35233] Optimize Latin-1 decoding in TextCodecLatin1::decode()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 23 10:17:14 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35233


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49275|review+                     |review-
               Flag|                            |




--- Comment #12 from Darin Adler <darin at apple.com>  2010-02-23 10:17:14 PST ---
(From update of attachment 49275)
> +template<> struct NonASCIIMask<8> {
> +    static uintptr_t value() { return 0x8080808080808080UL; }
> +};

As I feared, this does not compile in 32-bit Mac.

I believe the right way to do this is this:

    static unsigned long long value() { return 0x8080808080808080ULL; }

Should work on all platforms.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list