diff --git a/src/frontend/A32/location_descriptor.h b/src/frontend/A32/location_descriptor.h index 065d9ebd..19b6054d 100644 --- a/src/frontend/A32/location_descriptor.h +++ b/src/frontend/A32/location_descriptor.h @@ -43,8 +43,8 @@ public: bool TFlag() const { return cpsr.T(); } bool EFlag() const { return cpsr.E(); } - PSR CPSR() const { return cpsr; } - FPSCR FPSCR() const { return fpscr; } + A32::PSR CPSR() const { return cpsr; } + A32::FPSCR FPSCR() const { return fpscr; } bool operator == (const LocationDescriptor& o) const { return std::tie(arm_pc, cpsr, fpscr) == std::tie(o.arm_pc, o.cpsr, o.fpscr); diff --git a/src/frontend/A64/location_descriptor.h b/src/frontend/A64/location_descriptor.h index a865c65b..1b351b1f 100644 --- a/src/frontend/A64/location_descriptor.h +++ b/src/frontend/A64/location_descriptor.h @@ -34,7 +34,7 @@ public: : pc(o.Value() & PC_MASK), fpcr((o.Value() >> 37) & FPCR_MASK) {} u64 PC() const { return Common::SignExtend<56>(pc); } - FPCR FPCR() const { return fpcr; } + A64::FPCR FPCR() const { return fpcr; } bool operator == (const LocationDescriptor& o) const { return std::tie(pc, fpcr) == std::tie(o.pc, o.fpcr);