You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by eg...@apache.org on 2009/04/03 11:57:04 UTC

svn commit: r761592 - /harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h

Author: egor
Date: Fri Apr  3 09:57:04 2009
New Revision: 761592

URL: http://svn.apache.org/viewvc?rev=761592&view=rev
Log:
Applying patch from HARMONY-6137: [drlvm][concurrent] AtomicLong compare and swap returning wrong indicator

Modified:
    harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h

Modified: harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h?rev=761592&r1=761591&r2=761592&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h Fri Apr  3 09:57:04 2009
@@ -219,7 +219,7 @@
         "pop %%ebx"
         : /* no outputs (why not comp?)*/
         :"m"(comp), "m"(value), "m"(data) /* inputs */
-        :"%eax", "%ecx", "%edx", "%esi" /* clobbers */
+        :"%eax", "%ecx", "%edx", "%esi", "memory" /* clobbers */
     );
     return comp;
 #elif defined(_EM64T_) // defined(_IA32_)