changeset 999:708275a44e4a

Merge
author tonyp
date Sat, 03 Oct 2009 10:53:08 -0400
parents 46b819ba120b a0107ba3bc53
children a1423fe86a18 8afee153274a
files src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp	Wed Sep 30 13:25:39 2009 -0700
+++ b/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp	Sat Oct 03 10:53:08 2009 -0400
@@ -668,7 +668,7 @@
   __ add(obj.result(), offset.result(), addr);
 
   if (type == objectType) {  // Write-barrier needed for Object fields.
-    pre_barrier(obj.result(), false, NULL);
+    pre_barrier(addr, false, NULL);
   }
 
   if (type == objectType)