aboutsummaryrefslogtreecommitdiff
path: root/test/armv7.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/armv7.rs')
-rw-r--r--test/armv7.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/armv7.rs b/test/armv7.rs
index 7b0c2b6..fbd71ee 100644
--- a/test/armv7.rs
+++ b/test/armv7.rs
@@ -403,10 +403,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;
}
}