hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 11430 718fc06da49a
parent 11192 ff37c2093a0d
child 11563 1edf1d19c36d
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Tue Dec 20 00:55:02 2011 -0800
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Wed Dec 07 11:35:03 2011 +0100
@@ -1256,8 +1256,7 @@
     info = state_for(x);
   }
   __ move(new LIR_Address(rcvr.result(), oopDesc::klass_offset_in_bytes(), T_OBJECT), result, info);
-  __ move_wide(new LIR_Address(result, Klass::java_mirror_offset_in_bytes() +
-                               klassOopDesc::klass_part_offset_in_bytes(), T_OBJECT), result);
+  __ move_wide(new LIR_Address(result, in_bytes(Klass::java_mirror_offset()), T_OBJECT), result);
 }