Title: [153326] trunk/Source/WTF
Revision
153326
Author
allan.jen...@digia.com
Date
2013-07-25 07:26:42 -0700 (Thu, 25 Jul 2013)

Log Message

Fix windows build after FTL upstream

Unreviewed build fix.

* wtf/Atomics.h:
(WTF::weakCompareAndSwap):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (153325 => 153326)


--- trunk/Source/WTF/ChangeLog	2013-07-25 13:53:40 UTC (rev 153325)
+++ trunk/Source/WTF/ChangeLog	2013-07-25 14:26:42 UTC (rev 153326)
@@ -1,3 +1,12 @@
+2013-07-25  Allan Sandfeld Jensen  <allan.jen...@digia.com>
+
+        Fix windows build after FTL upstream
+
+        Unreviewed build fix.
+
+        * wtf/Atomics.h:
+        (WTF::weakCompareAndSwap):
+
 2013-07-25  Ryuan Choi  <ryuan.c...@samsung.com>
 
         Unreviewed, build fix on the EFL port.

Modified: trunk/Source/WTF/wtf/Atomics.h (153325 => 153326)


--- trunk/Source/WTF/wtf/Atomics.h	2013-07-25 13:53:40 UTC (rev 153325)
+++ trunk/Source/WTF/wtf/Atomics.h	2013-07-25 14:26:42 UTC (rev 153326)
@@ -278,7 +278,7 @@
 inline bool weakCompareAndSwap(uint8_t* location, uint8_t expected, uint8_t newValue)
 {
 #if ENABLE(COMPARE_AND_SWAP)
-#if CPU(X86) || CPU(X86_64)
+#if !OS(WINDOWS) && (CPU(X86) || CPU(X86_64))
     unsigned char result;
     asm volatile(
         "lock; cmpxchgb %3, %2\n\t"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to