diff --git a/src/instruction/aarch64_simd.C b/src/instruction/aarch64_simd.C index 1600cf70..560642a3 100644 --- a/src/instruction/aarch64_simd.C +++ b/src/instruction/aarch64_simd.C @@ -1013,8 +1013,8 @@ test_results_t aarch64_simd_Mutator::executeTest() test_results_t retVal = PASSED; for(auto insn : decodedInsns) { - auto success = verify_read_write_sets(insn, expectedRead.front(), expectedWritten.front()); - if(!success) { + auto status = verify_read_write_sets(insn, expectedRead.front(), expectedWritten.front()); + if(status == FAILED) { retVal = FAILED; } expectedRead.pop_front();