Merge
authortonyp
Sat, 03 Oct 2009 10:53:08 -0400
changeset 3918 bb38ed724b81
parent 3916 9acd7f9d4f52 (current diff)
parent 3917 97f4f06a7f6d (diff)
child 3919 b15d85d98b61
child 4021 4d2839abc110
Merge
hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
--- a/hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp	Wed Sep 30 13:25:39 2009 -0700
+++ b/hotspot/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)