aboutsummaryrefslogtreecommitdiff
path: root/src/armv8
diff options
context:
space:
mode:
Diffstat (limited to 'src/armv8')
-rw-r--r--src/armv8/a64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs
index 4cd91da..b94273f 100644
--- a/src/armv8/a64.rs
+++ b/src/armv8/a64.rs
@@ -445,8 +445,8 @@ impl Display for Instruction {
Opcode::UBFM => {
// TODO: handle ubfx alias
if let (
- Operand::Register(SizeCode::W, destnum),
- Operand::Register(SizeCode::W, srcnum),
+ Operand::Register(SizeCode::W, _),
+ Operand::Register(SizeCode::W, _),
Operand::Immediate(0)
) = (self.operands[0], self.operands[1], self.operands[2]) {
if let Operand::Immediate(7) = self.operands[3] {