summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Miller <brandon@vector35.com>2025-12-11 12:33:40 -0500
committerBrandon Miller <brandon@vector35.com>2025-12-11 15:10:05 -0500
commit5d7877b807e45c6b58e6beb73ea11d7fe7f4467f (patch)
treefdc2bafc6df7cb9a67bc05cdd8552970bb485b36
parent44a4945e5c3532dfaccbad3f23622464f0173691 (diff)
[MIPS] Don't add a default branch type for jalr
-rw-r--r--arch/mips/arch_mips.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/arch_mips.cpp b/arch/mips/arch_mips.cpp
index 51a5d411..0853f9fb 100644
--- a/arch/mips/arch_mips.cpp
+++ b/arch/mips/arch_mips.cpp
@@ -337,7 +337,7 @@ protected:
if (instr.operands[0].reg == REG_ZERO && instr.operands[1].reg == REG_RA)
result.AddBranch(FunctionReturn, 0, nullptr, hasBranchDelay);
else
- result.AddBranch(UnresolvedBranch, 0, nullptr, hasBranchDelay);
+ result.delaySlots = 1;
break;
case MIPS_BGEZAL: