changeset 3918:bb38ed724b81

Merge
author tonyp
date Sat, 03 Oct 2009 10:53:08 -0400
parents 9acd7f9d4f52 97f4f06a7f6d
children b15d85d98b61 4d2839abc110
files hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)