hotspot/src/cpu/x86/vm/templateInterpreter_x86_64.cpp
changeset 20709 034be898bf04
parent 19335 ad762bd4ff48
child 21095 1a04f7b3946e
equal deleted inserted replaced
20708:d150e1293886 20709:034be898bf04
   174   // and NULL it as marker that esp is now tos until next java call
   174   // and NULL it as marker that esp is now tos until next java call
   175   __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD);
   175   __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD);
   176 
   176 
   177   __ restore_bcp();
   177   __ restore_bcp();
   178   __ restore_locals();
   178   __ restore_locals();
       
   179 
       
   180   if (state == atos) {
       
   181     Register mdp = rbx;
       
   182     Register tmp = rcx;
       
   183     __ profile_return_type(mdp, rax, tmp);
       
   184   }
   179 
   185 
   180   Label L_got_cache, L_giant_index;
   186   Label L_got_cache, L_giant_index;
   181   if (EnableInvokeDynamic) {
   187   if (EnableInvokeDynamic) {
   182     __ cmpb(Address(r13, 0), Bytecodes::_invokedynamic);
   188     __ cmpb(Address(r13, 0), Bytecodes::_invokedynamic);
   183     __ jcc(Assembler::equal, L_giant_index);
   189     __ jcc(Assembler::equal, L_giant_index);