Title: [144174] trunk/Source/WTF
- Revision
- 144174
- Author
- [email protected]
- Date
- 2013-02-27 05:34:06 -0800 (Wed, 27 Feb 2013)
Log Message
Bug in atomicIncrement implementation for MIPS GCC
https://bugs.webkit.org/show_bug.cgi?id=110969
Patch by Balazs Kilvady <[email protected]> on 2013-02-27
Reviewed by Csaba Osztrogonác.
Fix of __sync_[add|sub]_and_fetch_8 for GCC patch.
* wtf/Atomics.cpp:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (144173 => 144174)
--- trunk/Source/WTF/ChangeLog 2013-02-27 13:07:46 UTC (rev 144173)
+++ trunk/Source/WTF/ChangeLog 2013-02-27 13:34:06 UTC (rev 144174)
@@ -1,3 +1,14 @@
+2013-02-27 Balazs Kilvady <[email protected]>
+
+ Bug in atomicIncrement implementation for MIPS GCC
+ https://bugs.webkit.org/show_bug.cgi?id=110969
+
+ Reviewed by Csaba Osztrogonác.
+
+ Fix of __sync_[add|sub]_and_fetch_8 for GCC patch.
+
+ * wtf/Atomics.cpp:
+
2013-02-27 Simon Hausmann <[email protected]>
REGRESSION(r137994): It made JSC tests hang and layout tests fail on ARM Thumb2 / Linux
Modified: trunk/Source/WTF/wtf/Atomics.cpp (144173 => 144174)
--- trunk/Source/WTF/wtf/Atomics.cpp 2013-02-27 13:07:46 UTC (rev 144173)
+++ trunk/Source/WTF/wtf/Atomics.cpp 2013-02-27 13:34:06 UTC (rev 144174)
@@ -57,6 +57,7 @@
*/
#include "config.h"
+#include "Atomics.h"
// Some architectures, like MIPS32, don't have GCC implementation for builtin __sync_* functions
// with 64 bits variable size. Official GCC answer for the problem: If a target doesn't support
@@ -66,8 +67,6 @@
// our own implementation.
#if COMPILER(GCC) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8) && USE(LOCKFREE_THREADSAFEREFCOUNTED) && USE(PTHREADS)
-#include "Atomics.h"
-
#include "ThreadingPrimitives.h"
namespace WTF {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes