diff options
author | iximeow <me@iximeow.net> | 2021-09-28 19:51:35 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-09-28 19:52:37 -0700 |
commit | 3a4b54bc496cf71b771e32cfb3ad0f2e804df610 (patch) | |
tree | 690865c3134093e723c7e3c7e1ac2757fcb9db74 /src | |
parent | 44f4179c626dc346f51063e6fbfcd2e85171d9c8 (diff) |
handle another unintended panic in display impl
Diffstat (limited to 'src')
-rw-r--r-- | src/armv7.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/armv7.rs b/src/armv7.rs index e858566..d8c2539 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -1741,10 +1741,7 @@ fn format_reg_imm_mem<T: fmt::Write, Y: YaxColors>(f: &mut T, Rn: Reg, imm: u16, (true, false) => { write!(f, "[{}]", reg_name_colorize(Rn, colors)) }, - (false, true) => { - unreachable!("I don't know how to render an operand with pre==false and wback==true, this seems like it should be LDRT"); - }, - (false, false) => { + (false, _) => { write!(f, "[{}]", reg_name_colorize(Rn, colors)) } } |