hotspot/src/share/vm/prims/methodHandles.hpp
changeset 5419 f2e8cc8c12ea
parent 5416 5f6377fcfd3e
child 5420 586d3988e72b
equal deleted inserted replaced
5418:c4955cb6ed33 5419:f2e8cc8c12ea
   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);