Home
last modified time | relevance | path

Searched refs:reg_idx (Results 1 – 3 of 3) sorted by relevance

/art/runtime/verifier/
Dregister_line.cc337 void RegisterLine::PushMonitor(MethodVerifier* verifier, uint32_t reg_idx, int32_t insn_idx) { in PushMonitor() argument
338 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PushMonitor()
349 if (SetRegToLockDepth(reg_idx, monitors_.size())) { in PushMonitor()
360 VLOG(verifier) << "unexpected monitor-enter on register v" << reg_idx << " in " in PushMonitor()
367 void RegisterLine::PopMonitor(MethodVerifier* verifier, uint32_t reg_idx) { in PopMonitor() argument
368 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PopMonitor()
380 bool success = IsSetLockDepth(reg_idx, monitors_.size()); in PopMonitor()
387 reg_idx = kVirtualNullRegister; in PopMonitor()
400 ClearRegToLockDepth(reg_idx, monitors_.size()); in PopMonitor()
Dregister_line.h342 void PushMonitor(MethodVerifier* verifier, uint32_t reg_idx, int32_t insn_idx)
346 void PopMonitor(MethodVerifier* verifier, uint32_t reg_idx)
/art/runtime/gc/space/
Dregion_space.h347 size_t reg_idx = offset / kRegionSize; in RegionIdxForRefUnchecked() local
348 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked()
349 Region* reg = &regions_[reg_idx]; in RegionIdxForRefUnchecked()
350 DCHECK_EQ(reg->Idx(), reg_idx); in RegionIdxForRefUnchecked()
352 return reg_idx; in RegionIdxForRefUnchecked()
652 size_t reg_idx = offset / kRegionSize; in RefToRegionLocked() local
653 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked()
654 Region* reg = &regions_[reg_idx]; in RefToRegionLocked()
655 DCHECK_EQ(reg->Idx(), reg_idx); in RefToRegionLocked()