Skip to content

Commit

Permalink
Danny's PR comments: remove unnecessary range check
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Feb 3, 2025
1 parent 8c20397 commit 683d308
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion o1vm/src/interpreters/mips/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,6 @@ pub fn interpret_noop<Env: InterpreterEnv>(env: &mut Env) {
unsafe { env.bitmask(&instruction, 32, 26, pos) }
};

env.range_check8(&opcode, 6);
env.assert_is_zero(opcode);
let next_instruction_pointer = env.get_next_instruction_pointer();
env.set_instruction_pointer(next_instruction_pointer.clone());
Expand Down

0 comments on commit 683d308

Please sign in to comment.