comparison src/share/vm/prims/methodHandles.hpp @ 1506:2338d41fbd81

6943304: remove tagged stack interpreter Reviewed-by: coleenp, never, gbenson
author twisti
date Fri, 30 Apr 2010 08:37:24 -0700
parents c640000b7cc1
children cd5dbf694d45
comparison
equal deleted inserted replaced
1505:0c5b3cf3c1f5 1506:2338d41fbd81
161 case _adapter_opt_rot_2_up: swap_slots = 2; rotate = 1; break; 161 case _adapter_opt_rot_2_up: swap_slots = 2; rotate = 1; break;
162 case _adapter_opt_rot_2_down: swap_slots = 2; rotate = -1; break; 162 case _adapter_opt_rot_2_down: swap_slots = 2; rotate = -1; break;
163 default: ShouldNotReachHere(); 163 default: ShouldNotReachHere();
164 } 164 }
165 // Return the size of the stack slots to move in bytes. 165 // Return the size of the stack slots to move in bytes.
166 swap_bytes = swap_slots * Interpreter::stackElementSize(); 166 swap_bytes = swap_slots * Interpreter::stackElementSize;
167 } 167 }
168 168
169 static int get_ek_adapter_opt_spread_info(EntryKind ek) { 169 static int get_ek_adapter_opt_spread_info(EntryKind ek) {
170 switch (ek) { 170 switch (ek) {
171 case _adapter_opt_spread_0: return 0; 171 case _adapter_opt_spread_0: return 0;
217 } 217 }
218 218
219 // Offset in words that the interpreter stack pointer moves when an argument is pushed. 219 // Offset in words that the interpreter stack pointer moves when an argument is pushed.
220 // The stack_move value must always be a multiple of this. 220 // The stack_move value must always be a multiple of this.
221 static int stack_move_unit() { 221 static int stack_move_unit() {
222 return frame::interpreter_frame_expression_stack_direction() * Interpreter::stackElementWords(); 222 return frame::interpreter_frame_expression_stack_direction() * Interpreter::stackElementWords;
223 } 223 }
224 224
225 enum { CONV_VMINFO_SIGN_FLAG = 0x80 }; 225 enum { CONV_VMINFO_SIGN_FLAG = 0x80 };
226 static int adapter_subword_vminfo(BasicType dest) { 226 static int adapter_subword_vminfo(BasicType dest) {
227 if (dest == T_BOOLEAN) return (BitsPerInt - 1); 227 if (dest == T_BOOLEAN) return (BitsPerInt - 1);