From 3a4b54bc496cf71b771e32cfb3ad0f2e804df610 Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 28 Sep 2021 19:51:35 -0700 Subject: handle another unintended panic in display impl --- src/armv7.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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(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)) } } -- cgit v1.1