Title: [106071] branches/safari-534.54-branch/Source/_javascript_Core
Revision
106071
Author
[email protected]
Date
2012-01-26 17:35:52 -0800 (Thu, 26 Jan 2012)

Log Message

2012-01-26  Mark Hahnenberg  <[email protected]>

        Hang in parallel GC caused by incorrect GCC asm codegen
        Reviewed by Filip Pizlo.

        <rdar://problem/10742649>

        * wtf/Atomics.h:
        (WTF::weakCompareAndSwap): Mark the argument volatile to force GCC to do the right thing.

Modified Paths

Diff

Modified: branches/safari-534.54-branch/Source/_javascript_Core/ChangeLog (106070 => 106071)


--- branches/safari-534.54-branch/Source/_javascript_Core/ChangeLog	2012-01-27 01:30:33 UTC (rev 106070)
+++ branches/safari-534.54-branch/Source/_javascript_Core/ChangeLog	2012-01-27 01:35:52 UTC (rev 106071)
@@ -1,3 +1,13 @@
+2012-01-26  Mark Hahnenberg  <[email protected]>
+
+        Hang in parallel GC caused by incorrect GCC asm codegen
+        Reviewed by Filip Pizlo.
+
+        <rdar://problem/10742649>
+
+        * wtf/Atomics.h:
+        (WTF::weakCompareAndSwap): Mark the argument volatile to force GCC to do the right thing.
+
 2012-01-25  Mark Rowe  <[email protected]>
 
         Merge r105942.

Modified: branches/safari-534.54-branch/Source/_javascript_Core/wtf/Atomics.h (106070 => 106071)


--- branches/safari-534.54-branch/Source/_javascript_Core/wtf/Atomics.h	2012-01-27 01:30:33 UTC (rev 106070)
+++ branches/safari-534.54-branch/Source/_javascript_Core/wtf/Atomics.h	2012-01-27 01:35:52 UTC (rev 106071)
@@ -118,7 +118,7 @@
 
 #endif
 
-inline bool weakCompareAndSwap(unsigned* location, unsigned expected, unsigned newValue)
+inline bool weakCompareAndSwap(volatile unsigned* location, unsigned expected, unsigned newValue)
 {
 #if ENABLE(COMPARE_AND_SWAP)
     bool result;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to