equal
deleted
inserted
replaced
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 |