hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp
changeset 36798 a00bc4ff7b23
parent 35495 e27da438fa13
child 37248 11a660dbbb8e
equal deleted inserted replaced
36328:f627026bc04a 36798:a00bc4ff7b23
   207   return (r->reg2stack() + 4) * VMRegImpl::stack_slot_size;
   207   return (r->reg2stack() + 4) * VMRegImpl::stack_slot_size;
   208 }
   208 }
   209 
   209 
   210 static int reg2offset_out(VMReg r) {
   210 static int reg2offset_out(VMReg r) {
   211   return (r->reg2stack() + SharedRuntime::out_preserve_stack_slots()) * VMRegImpl::stack_slot_size;
   211   return (r->reg2stack() + SharedRuntime::out_preserve_stack_slots()) * VMRegImpl::stack_slot_size;
   212 }
       
   213 
       
   214 template <class T> static const T& min (const T& a, const T& b) {
       
   215   return (a > b) ? b : a;
       
   216 }
   212 }
   217 
   213 
   218 // ---------------------------------------------------------------------------
   214 // ---------------------------------------------------------------------------
   219 // Read the array of BasicTypes from a signature, and compute where the
   215 // Read the array of BasicTypes from a signature, and compute where the
   220 // arguments should go.  Values in the VMRegPair regs array refer to 4-byte
   216 // arguments should go.  Values in the VMRegPair regs array refer to 4-byte