diff options
Diffstat (limited to 'test/armv8')
-rw-r--r-- | test/armv8/a64.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index 4886fe1..406b867 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -2335,10 +2335,10 @@ pub fn bench_60000_instrs(b: &mut Bencher) { let mut result = Instruction::blank(); loop { match decoder.decode_into(&mut result, &mut iter) { - Some(result) => { + Ok(result) => { test::black_box(&result); }, - None => { + Err(_) => { break; } } |