changeset 1923:7601ab0e1e33

7004530: casx used for 32 bit cas after 7003554 Reviewed-by: kvn, iveresov
author never
date Fri, 03 Dec 2010 12:14:33 -0800
parents b856cd7f4e60
children dad31fc330cd
files src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Fri Dec 03 06:14:37 2010 -0800
+++ b/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Fri Dec 03 12:14:33 2010 -0800
@@ -2717,7 +2717,7 @@
         __ encode_heap_oop(t2);
         __ cas(addr, t1, t2);
       } else {
-        __ casx(addr, t1, t2);
+        __ cas_ptr(addr, t1, t2);
       }
     } else {
       __ cas(addr, t1, t2);