diff options
| author | Ryan Snyder <ryan@vector35.com> | 2024-05-24 16:09:43 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2024-05-24 17:14:46 -0400 |
| commit | 08a1e68f7dbf4671ec53538e874162998b249f0c (patch) | |
| tree | f393b38c532ef883b5fbf26f22f3e9def0147d0a /arch/mips/arch_mips.cpp | |
| parent | 56115aecf186bc720dae9a20cc4c6aef248ba07f (diff) | |
arch: multiple delay slot support, suppress spurious mips warning
Diffstat (limited to 'arch/mips/arch_mips.cpp')
| -rw-r--r-- | arch/mips/arch_mips.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/arch_mips.cpp b/arch/mips/arch_mips.cpp index 6a3d80e4..50ad0f75 100644 --- a/arch/mips/arch_mips.cpp +++ b/arch/mips/arch_mips.cpp @@ -301,7 +301,7 @@ protected: if (instr.operands[0].immediate != addr + 8) result.AddBranch(CallDestination, instr.operands[0].immediate, nullptr, hasBranchDelay); else - result.branchDelay = 1; // We have a "get pc" mnemonic; do nothing + result.delaySlots = 1; // We have a "get pc" mnemonic; do nothing break; case MIPS_JAL: @@ -311,7 +311,7 @@ protected: //Jmp to register register value is unknown case MIPS_JALR: case MIPS_JALR_HB: - result.branchDelay = 1; + result.delaySlots = 1; break; case MIPS_BGEZAL: |
