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.h353 size_t reg_idx = offset / kRegionSize; in RegionIdxForRefUnchecked() local
354 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked()
355 Region* reg = &regions_[reg_idx]; in RegionIdxForRefUnchecked()
356 DCHECK_EQ(reg->Idx(), reg_idx); in RegionIdxForRefUnchecked()
358 return reg_idx; in RegionIdxForRefUnchecked()
664 size_t reg_idx = offset / kRegionSize; in RefToRegionLocked() local
665 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked()
666 Region* reg = &regions_[reg_idx]; in RefToRegionLocked()
667 DCHECK_EQ(reg->Idx(), reg_idx); in RefToRegionLocked()