From 40436975204fe296d30362e624e805ade97b4a1b Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 18 Jan 2020 14:01:36 -0800 Subject: some of the work to get yaxpeax-arm no-std --- test/armv7.rs | 2 +- test/armv8/a64.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 = ::Decoder::default(); - let mut result = Instruction::blank(); + let mut result = Instruction::default(); loop { match decoder.decode_into(&mut result, &mut iter) { Ok(result) => { diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index 406b867..be2c5bf 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -2332,7 +2332,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 = ::Decoder::default(); - let mut result = Instruction::blank(); + let mut result = Instruction::default(); loop { match decoder.decode_into(&mut result, &mut iter) { Ok(result) => { -- cgit v1.1