697 __ cmpptr(pc_reg, temp_reg); |
697 __ cmpptr(pc_reg, temp_reg); |
698 __ jcc(Assembler::below, L_ok); |
698 __ jcc(Assembler::below, L_ok); |
699 __ bind(L_fail); |
699 __ bind(L_fail); |
700 } |
700 } |
701 |
701 |
702 static void gen_i2c_adapter(MacroAssembler *masm, |
702 void SharedRuntime::gen_i2c_adapter(MacroAssembler *masm, |
703 int total_args_passed, |
703 int total_args_passed, |
704 int comp_args_on_stack, |
704 int comp_args_on_stack, |
705 const BasicType *sig_bt, |
705 const BasicType *sig_bt, |
706 const VMRegPair *regs) { |
706 const VMRegPair *regs) { |
707 |
|
708 // Note: rsi contains the senderSP on entry. We must preserve it since |
707 // Note: rsi contains the senderSP on entry. We must preserve it since |
709 // we may do a i2c -> c2i transition if we lose a race where compiled |
708 // we may do a i2c -> c2i transition if we lose a race where compiled |
710 // code goes non-entrant while we get args ready. |
709 // code goes non-entrant while we get args ready. |
711 |
710 |
712 // Adapters can be frameless because they do not require the caller |
711 // Adapters can be frameless because they do not require the caller |