Browse Source

i forgot comparison against end

pull/2653/head
lizzie 2 months ago
committed by crueter
parent
commit
ebab950921
  1. 2
      src/dynarmic/src/dynarmic/backend/x64/a64_emit_x64.cpp

2
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.

Loading…
Cancel
Save