[Vm-dev] [commit][2998] Integrate the fix to sqCompareAndSwapRes on
ARM.
commits at squeakvm.org
commits at squeakvm.org
Fri Jun 13 16:48:25 UTC 2014
Revision: 2998
Author: eliot
Date: 2014-06-13 09:48:22 -0700 (Fri, 13 Jun 2014)
Log Message:
-----------
Integrate the fix to sqCompareAndSwapRes on ARM.
Add ignore props to products subdirs.
Modified Paths:
--------------
branches/Cog/platforms/Cross/vm/sqAtomicOps.h
Removed Paths:
-------------
branches/Cog/spurcogbuild/cygwinbuild/
branches/Cog/spursistamacbuild/
Property Changed:
----------------
branches/Cog/products/assert/
branches/Cog/products/debug/
Modified: branches/Cog/platforms/Cross/vm/sqAtomicOps.h
===================================================================
--- branches/Cog/platforms/Cross/vm/sqAtomicOps.h 2014-06-13 07:19:51 UTC (rev 2997)
+++ branches/Cog/platforms/Cross/vm/sqAtomicOps.h 2014-06-13 16:48:22 UTC (rev 2998)
@@ -238,7 +238,7 @@
__sync_bool_compare_and_swap(&(var), (old), (new))
# define sqCompareAndSwapRes(var,old,new,res) \
- __sync_val_compare_and_swap(&(var), (old), (new))
+ (res = __sync_val_compare_and_swap(&(var), (old), (new)))
#else
/* Dear implementor, you have choices. Google atomic increment and you will
Property changes on: branches/Cog/products/assert
___________________________________________________________________
Added: svn:ignore
+ *
Property changes on: branches/Cog/products/debug
___________________________________________________________________
Added: svn:ignore
+ *
More information about the Vm-dev
mailing list