From 514eae8d01163f9550046054f2d3accc00df972c Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 2 Jan 2022 12:46:28 -0800 Subject: fix docs that failed to build --- src/armv7/thumb.rs | 17 ++++------------- src/armv8/a64.rs | 6 +++--- 2 files changed, 7 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/armv7/thumb.rs b/src/armv7/thumb.rs index e721691..1545a36 100644 --- a/src/armv7/thumb.rs +++ b/src/armv7/thumb.rs @@ -1,18 +1,9 @@ -// use yaxpeax_arch::{Arch, AddressDiff, Decoder, LengthedInstruction}; use yaxpeax_arch::Arch; -use armv7::ARMv7; -use armv7::ConditionCode; -use armv7::DecodeError; -use armv7::CReg; -use armv7::Reg; -use armv7::Reader; -use armv7::RegShift; -use armv7::Operand; -use armv7::Opcode; -use armv7::Instruction; -use armv7::InstDecoder; -use armv7::StatusRegMask; +use crate::armv7::{ + ARMv7, ConditionCode, DecodeError, CReg, Reg, Reader, RegShift, + Operand, Opcode, Instruction, InstDecoder, StatusRegMask +}; use bitvec::prelude::*; diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs index dc7d399..caf486f 100644 --- a/src/armv8/a64.rs +++ b/src/armv8/a64.rs @@ -4605,7 +4605,7 @@ impl Decoder for InstDecoder { type OperandSizeTable = [Result<(SIMDSizeCode, SIMDSizeCode, SIMDSizeCode, SIMDSizeCode), DecodeError>; 8]; - use armv8::a64::SIMDSizeCode::*; + use crate::armv8::a64::SIMDSizeCode::*; const TABLE_A: &'static OperandSizeTable = &[ Ok((D, B, D, B)), Ok((Q, B, Q, B)), @@ -6086,7 +6086,7 @@ impl Decoder for InstDecoder { let q = (word >> 30) & 1; type OperandSizeTable = [Result<(SIMDSizeCode, SIMDSizeCode, SIMDSizeCode, SIMDSizeCode), DecodeError>; 8]; - use armv8::a64::SIMDSizeCode::*; + use crate::armv8::a64::SIMDSizeCode::*; const TABLE_A: &'static OperandSizeTable = &[ Ok((D, B, D, B)), Ok((Q, B, Q, B)), @@ -6286,7 +6286,7 @@ impl Decoder for InstDecoder { type OperandSizeTable = [Result<(SIMDSizeCode, SIMDSizeCode, SIMDSizeCode, SIMDSizeCode), DecodeError>; 4]; - use armv8::a64::SIMDSizeCode::*; + use crate::armv8::a64::SIMDSizeCode::*; const TABLE_A: &'static OperandSizeTable = &[ Ok((Q, B, Q, B)), -- cgit v1.1