hotspot/src/cpu/arm/vm/sharedRuntime_arm.cpp
changeset 46727 6e4a84748e2c
parent 46625 edefffab74e2
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
  1022   return (r->reg2stack() + SharedRuntime::out_preserve_stack_slots()) * VMRegImpl::stack_slot_size;
  1022   return (r->reg2stack() + SharedRuntime::out_preserve_stack_slots()) * VMRegImpl::stack_slot_size;
  1023 }
  1023 }
  1024 
  1024 
  1025 
  1025 
  1026 static void verify_oop_args(MacroAssembler* masm,
  1026 static void verify_oop_args(MacroAssembler* masm,
  1027                             methodHandle method,
  1027                             const methodHandle& method,
  1028                             const BasicType* sig_bt,
  1028                             const BasicType* sig_bt,
  1029                             const VMRegPair* regs) {
  1029                             const VMRegPair* regs) {
  1030   Register temp_reg = Rmethod;  // not part of any compiled calling seq
  1030   Register temp_reg = Rmethod;  // not part of any compiled calling seq
  1031   if (VerifyOops) {
  1031   if (VerifyOops) {
  1032     for (int i = 0; i < method->size_of_parameters(); i++) {
  1032     for (int i = 0; i < method->size_of_parameters(); i++) {
  1043     }
  1043     }
  1044   }
  1044   }
  1045 }
  1045 }
  1046 
  1046 
  1047 static void gen_special_dispatch(MacroAssembler* masm,
  1047 static void gen_special_dispatch(MacroAssembler* masm,
  1048                                  methodHandle method,
  1048                                  const methodHandle& method,
  1049                                  const BasicType* sig_bt,
  1049                                  const BasicType* sig_bt,
  1050                                  const VMRegPair* regs) {
  1050                                  const VMRegPair* regs) {
  1051   verify_oop_args(masm, method, sig_bt, regs);
  1051   verify_oop_args(masm, method, sig_bt, regs);
  1052   vmIntrinsics::ID iid = method->intrinsic_id();
  1052   vmIntrinsics::ID iid = method->intrinsic_id();
  1053 
  1053