diff options
author | iximeow <me@iximeow.net> | 2020-01-18 14:01:36 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-18 14:01:36 -0800 |
commit | 40436975204fe296d30362e624e805ade97b4a1b (patch) | |
tree | fe0a92f7fb3da1da93ce84d53efc93c29596f68a /test/armv7.rs | |
parent | d8b5f3258d25b4ec22d1a46553518d892cc7aab7 (diff) |
some of the work to get yaxpeax-arm no-std
Diffstat (limited to 'test/armv7.rs')
-rw-r--r-- | test/armv7.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/armv7.rs b/test/armv7.rs index fbd71ee..f16a44a 100644 --- a/test/armv7.rs +++ b/test/armv7.rs @@ -400,7 +400,7 @@ pub fn bench_60000_instrs(b: &mut Bencher) { for i in (0..1000) { let mut iter = instruction_bytes.iter().map(|x| *x); let decoder = <ARMv7 as Arch>::Decoder::default(); - let mut result = Instruction::blank(); + let mut result = Instruction::default(); loop { match decoder.decode_into(&mut result, &mut iter) { Ok(result) => { |