diff options
author | iximeow <me@iximeow.net> | 2021-07-03 16:18:28 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-03 16:18:28 -0700 |
commit | 3a1de246641e14e51dc138120d67842448c2bf21 (patch) | |
tree | 0702a788bf16db67b0559aa49f44604564dd9ebb /test | |
parent | 282645e18ac920b2c1051a0bdf3e3236ee5839d6 (diff) |
factor out MemoryAccessSize
Diffstat (limited to 'test')
-rw-r--r-- | test/long_mode/operand.rs | 3 | ||||
-rw-r--r-- | test/protected_mode/operand.rs | 3 |
2 files changed, 4 insertions, 2 deletions
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() { |