Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dregister_line.cc331 void RegisterLine::PushMonitor(MethodVerifier* verifier, uint32_t reg_idx, int32_t insn_idx) { in PushMonitor() argument
332 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PushMonitor()
343 if (SetRegToLockDepth(reg_idx, monitors_.size())) { in PushMonitor()
354 VLOG(verifier) << "unexpected monitor-enter on register v" << reg_idx << " in " in PushMonitor()
361 void RegisterLine::PopMonitor(MethodVerifier* verifier, uint32_t reg_idx) { in PopMonitor() argument
362 const RegType& reg_type = GetRegisterType(verifier, reg_idx); in PopMonitor()
374 bool success = IsSetLockDepth(reg_idx, monitors_.size()); in PopMonitor()
381 reg_idx = kVirtualNullRegister; in PopMonitor()
394 ClearRegToLockDepth(reg_idx, monitors_.size()); in PopMonitor()
Dregister_line.h340 void PushMonitor(MethodVerifier* verifier, uint32_t reg_idx, int32_t insn_idx)
344 void PopMonitor(MethodVerifier* verifier, uint32_t reg_idx)
/art/runtime/gc/space/
Dregion_space.h354 size_t reg_idx = offset / kRegionSize; in RegionIdxForRefUnchecked() local
355 DCHECK_LT(reg_idx, num_regions_); in RegionIdxForRefUnchecked()
356 Region* reg = &regions_[reg_idx]; in RegionIdxForRefUnchecked()
357 DCHECK_EQ(reg->Idx(), reg_idx); in RegionIdxForRefUnchecked()
359 return reg_idx; in RegionIdxForRefUnchecked()
677 size_t reg_idx = offset / kRegionSize; in RefToRegionLocked() local
678 DCHECK_LT(reg_idx, num_regions_); in RefToRegionLocked()
679 Region* reg = &regions_[reg_idx]; in RefToRegionLocked()
680 DCHECK_EQ(reg->Idx(), reg_idx); in RefToRegionLocked()