src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp
changeset 48014 ae7bd89bdc0d
parent 48003 e1ec73e3325e
child 48021 3bb4d90d1ebc
child 48127 efc459cf351e
equal deleted inserted replaced
48013:2098785677fb 48014:ae7bd89bdc0d
   445 
   445 
   446   return entry;
   446   return entry;
   447 }
   447 }
   448 
   448 
   449 address TemplateInterpreterGenerator::generate_deopt_entry_for(TosState state,
   449 address TemplateInterpreterGenerator::generate_deopt_entry_for(TosState state,
   450                                                                int step) {
   450                                                                int step,
       
   451                                                                address continuation) {
   451   address entry = __ pc();
   452   address entry = __ pc();
   452   __ restore_bcp();
   453   __ restore_bcp();
   453   __ restore_locals();
   454   __ restore_locals();
   454   __ restore_constant_pool_cache();
   455   __ restore_constant_pool_cache();
   455   __ get_method(rmethod);
   456   __ get_method(rmethod);
   503                                 InterpreterRuntime::throw_pending_exception));
   504                                 InterpreterRuntime::throw_pending_exception));
   504     __ should_not_reach_here();
   505     __ should_not_reach_here();
   505     __ bind(L);
   506     __ bind(L);
   506   }
   507   }
   507 
   508 
   508   __ dispatch_next(state, step);
   509   if (continuation == NULL) {
       
   510     __ dispatch_next(state, step);
       
   511   } else {
       
   512     __ jump_to_entry(continuation);
       
   513   }
   509   return entry;
   514   return entry;
   510 }
   515 }
   511 
   516 
   512 address TemplateInterpreterGenerator::generate_result_handler_for(
   517 address TemplateInterpreterGenerator::generate_result_handler_for(
   513         BasicType type) {
   518         BasicType type) {