aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-03-17 09:19:03 +0000
committeriximeow <me@iximeow.net>2024-03-17 09:19:03 +0000
commit4f0d693e1ce844f73e37e64b9bcda6d191fbda1c (patch)
tree9829b543e47b251cf7e87ea6df332b770b2d87a8 /src
parent1840e5e026b1e1c7f61f1c5a2cade4dc2deda4c4 (diff)
ah uxtw/h fix introduced warnings
Diffstat (limited to 'src')
-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] {