From c3e71de1d72d200dc3f5b93d6bfdd7b496b3e637 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 29 Mar 2025 13:34:00 -0700 Subject: [PATCH] FEXCore/Frontend: Remove logically dead code This code can't get hit. --- FEXCore/Source/Interface/Core/Frontend.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/FEXCore/Source/Interface/Core/Frontend.cpp b/FEXCore/Source/Interface/Core/Frontend.cpp index fe05c72f9..6ec57ade5 100644 --- a/FEXCore/Source/Interface/Core/Frontend.cpp +++ b/FEXCore/Source/Interface/Core/Frontend.cpp @@ -912,12 +912,6 @@ bool Decoder::DecodeInstruction(uint64_t PC) { } } } - - if (DecodeInst->Dest.IsGPR()) { - LOGMAN_THROW_A_FMT(DecodeInst->Dest.Data.GPR.GPR != FEXCore::X86State::REG_INVALID, "Destination GPR was invalid"); - } - - return true; } void Decoder::BranchTargetInMultiblockRange() {