From 3a1de246641e14e51dc138120d67842448c2bf21 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 3 Jul 2021 16:18:28 -0700 Subject: factor out MemoryAccessSize --- test/long_mode/operand.rs | 3 ++- test/protected_mode/operand.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/long_mode/operand.rs b/test/long_mode/operand.rs index 5a51ef3..7be8d82 100644 --- a/test/long_mode/operand.rs +++ b/test/long_mode/operand.rs @@ -1,4 +1,5 @@ -use yaxpeax_x86::long_mode::{InstDecoder, MemoryAccessSize, Operand, RegSpec}; +use yaxpeax_x86::long_mode::{InstDecoder, Operand, RegSpec}; +use yaxpeax_x86::MemoryAccessSize; #[test] fn register_widths() { diff --git a/test/protected_mode/operand.rs b/test/protected_mode/operand.rs index b2d3624..fd850da 100644 --- a/test/protected_mode/operand.rs +++ b/test/protected_mode/operand.rs @@ -1,4 +1,5 @@ -use yaxpeax_x86::protected_mode::{InstDecoder, MemoryAccessSize, Operand, RegSpec}; +use yaxpeax_x86::protected_mode::{InstDecoder, Operand, RegSpec}; +use yaxpeax_x86::MemoryAccessSize; #[test] fn register_widths() { -- cgit v1.1