1.1 --- a/src/cpu/sparc/vm/methodHandles_sparc.cpp Fri Apr 30 04:27:25 2010 -0700 1.2 +++ b/src/cpu/sparc/vm/methodHandles_sparc.cpp Fri Apr 30 08:37:24 2010 -0700 1.3 @@ -358,7 +358,7 @@ 1.4 1.5 // Push arguments as if coming from the interpreter. 1.6 Register O0_scratch = O0_argslot; 1.7 - int stackElementSize = Interpreter::stackElementSize(); 1.8 + int stackElementSize = Interpreter::stackElementSize; 1.9 1.10 // Make space on the stack for the arguments. 1.11 __ sub(SP, 4*stackElementSize, SP); 1.12 @@ -679,7 +679,7 @@ 1.13 insert_arg_slots(_masm, stack_move_unit(), _INSERT_INT_MASK, O0_argslot, O1_scratch, O2_scratch, G5_index); 1.14 1.15 Address arg_lsw(O0_argslot, 0); 1.16 - Address arg_msw(O0_argslot, -Interpreter::stackElementSize()); 1.17 + Address arg_msw(O0_argslot, -Interpreter::stackElementSize); 1.18 1.19 switch (ek) { 1.20 case _adapter_opt_i2l: