[Webkit-unassigned] [Bug 106740] Fix the atomicIncrement implementation for Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 23 07:18:45 PST 2013


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


Jocelyn Turcotte <jocelyn.turcotte at digia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184205|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #25 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2013-01-23 07:20:37 PST ---
(From update of attachment 184205)
View in context: https://bugs.webkit.org/attachment.cgi?id=184205&action=review

> Source/JavaScriptCore/ChangeLog:5
> +        Dropping support for Windows versions before XP SP2
> +        for fixing atomicIncrement implementation for Windows.
> +        https://bugs.webkit.org/show_bug.cgi?id=106740

The subject line should be short enough to fit on one line.

> Source/JavaScriptCore/ChangeLog:11
> +        Current WebKit configured to support Windows 2000 and later versions.
> +        After r139514 WebKit2 can't be build, because the required InterlockedIncrement64
> +        method support is available on XP SP2 and later. So we have to move on.

The commit log editor will put all the ChangeLog bodies in the commit log. So since they are the same it would be better to omit the body except for WebKit2 (where it matters here) to avoid it appearing 6 times.

> Source/WTF/ChangeLog:11
> +        Current WebKit configured to support Windows 2000 and later versions.
> +        After r139514 WebKit2 can't be build, because the required InterlockedIncrement64
> +        method support is available on XP SP2 and later. So we have to move on.

This should rather describe the change to Atomics.h, the separation of WinCE, etc.

> Source/WTF/wtf/Atomics.h:87
> +inline int64_t atomicIncrement(int64_t* addend) { return InterlockedIncrement64(reinterpret_cast<long long* >(addend)); }
> +inline int64_t atomicDecrement(int64_t* addend) { return InterlockedDecrement64(reinterpret_cast<long long* >(addend)); }

Unneeded extra space before the last ">".

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