< prev index next >

src/hotspot/cpu/aarch64/registerMap_aarch64.cpp

Print this page
*** 34,15 ***
      // the upper slots by offsetting from the base address.
      assert(base_reg->is_concrete(), "must pass base reg");
      int base_reg_enc = (base_reg->value() - ConcreteRegisterImpl::max_gpr) /
                         FloatRegisterImpl::max_slots_per_register;
      intptr_t offset_in_bytes = slot_idx * VMRegImpl::stack_slot_size;
!     address base_location = location(base_reg);
      if (base_location != NULL) {
        return base_location + offset_in_bytes;
      } else {
        return NULL;
      }
    } else {
!     return location(base_reg->next(slot_idx));
    }
  }
--- 34,15 ---
      // the upper slots by offsetting from the base address.
      assert(base_reg->is_concrete(), "must pass base reg");
      int base_reg_enc = (base_reg->value() - ConcreteRegisterImpl::max_gpr) /
                         FloatRegisterImpl::max_slots_per_register;
      intptr_t offset_in_bytes = slot_idx * VMRegImpl::stack_slot_size;
!     address base_location = location(base_reg, (intptr_t*)NULL);
      if (base_location != NULL) {
        return base_location + offset_in_bytes;
      } else {
        return NULL;
      }
    } else {
!     return location(base_reg->next(slot_idx), (intptr_t*)NULL);
    }
  }
< prev index next >