Skip to content

Commit

Permalink
Merge pull request #3258 from Sonicadvance1/remove_warnings_16
Browse files Browse the repository at this point in the history
Arm64Emitter: Fixes warning
  • Loading branch information
alyssarosenzweig authored Nov 8, 2023
2 parents 3f1f7fa + 1fc6725 commit bf147f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ void Arm64Emitter::SpillStaticRegs(FEXCore::ARMEmitter::Register TmpReg, bool FP
void Arm64Emitter::FillStaticRegs(bool FPRs, uint32_t GPRFillMask, uint32_t FPRFillMask) {
FEXCore::ARMEmitter::Register TmpReg = FEXCore::ARMEmitter::Reg::r0;
LOGMAN_THROW_A_FMT(GPRFillMask != 0, "Must fill at least 1 GPR for a temp");
bool FoundRegister{};
[[maybe_unused]] bool FoundRegister{};
for (auto Reg : StaticRegisters) {
if (((1U << Reg.Idx()) & GPRFillMask)) {
TmpReg = Reg;
Expand Down

0 comments on commit bf147f4

Please sign in to comment.