Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwparas committed Oct 27, 2024
1 parent 75dba1d commit 9d1be8e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/steel-core/src/steel_vm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,10 +2064,6 @@ impl<'a> VmCore<'a> {
// Otherwise, we're going to be copying the instruction _every_ time we iterate which is going to slow down the loop
// We'd rather just reference the instruction and call it a day

if self.ip >= self.instructions.len() {
pretty_print_dense_instructions(&self.instructions);
}

let instr = self.instructions[self.ip];

match instr {
Expand Down

0 comments on commit 9d1be8e

Please sign in to comment.