diff options
author | iximeow <me@iximeow.net> | 2020-01-03 19:07:42 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 17:29:01 -0800 |
commit | 34da4b9ceb5f6b2395dbf23ad6afdc5f473d29c2 (patch) | |
tree | 463cb5b8e6b0123200b90431c06d147ae70222fb /test/armv8 | |
parent | 179d5d9cb7e94851ba69bf67f6d2dfbafa6aa6fe (diff) |
match changes in arch to have Resulty decode, instead of Option
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; } } |