hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp
changeset 14587 e9f641f0d3a9
parent 14583 d70ee55535f4
parent 14586 1262473e8fc1
child 17000 11bf92e571a2
--- a/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Thu Nov 29 11:23:15 2012 -0800
+++ b/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Thu Nov 29 13:55:49 2012 -0800
@@ -518,7 +518,8 @@
   delayed()->nop();
 
   // Compute max expression stack+register save area
-  lduh(Lmethod, in_bytes(Method::max_stack_offset()), Gframe_size);  // Load max stack.
+  ld_ptr(Lmethod, in_bytes(Method::const_offset()), Gframe_size);
+  lduh(Gframe_size, in_bytes(ConstMethod::max_stack_offset()), Gframe_size);  // Load max stack.
   add( Gframe_size, frame::memory_parameter_word_sp_offset, Gframe_size );
 
   //