From ebab9509211baca05a7b8ca96549bb38ccb3eb77 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 26 Oct 2025 02:10:21 +0000 Subject: [PATCH] i forgot comparison against end --- src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp b/src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp index 039e404d09..41720d8967 100644 --- a/src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp +++ b/src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp @@ -189,7 +189,7 @@ void A64EmitX64::ClearFastDispatchTable() { void A64EmitX64::GenTerminalHandlers() { // PC ends up in rcx, location_descriptor ends up in rbx - static_assert(std::find(ABI_ALL_CALLEE_SAVE.begin(), ABI_ALL_CALLEE_SAVE.end(), HostLoc::R12)); + static_assert(std::find(ABI_ALL_CALLEE_SAVE.begin(), ABI_ALL_CALLEE_SAVE.end(), HostLoc::R12) != ABI_ALL_CALLEE_SAVE.end()); const auto calculate_location_descriptor = [this] { // This calculation has to match up with A64::LocationDescriptor::UniqueHash // TODO: Optimization is available here based on known state of fpcr.