Skip to content

Commit

Permalink
fix traces
Browse files Browse the repository at this point in the history
  • Loading branch information
joonazan committed Aug 6, 2024
1 parent 23a782b commit a03ac29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl<T> VirtualMachine<T> {
}

#[cfg(feature = "trace")]
fn print_instruction(&self, instruction: *const crate::instruction::Instruction) {
fn print_instruction(&self, instruction: *const crate::instruction::Instruction<T>) {
print!("{:?}: ", unsafe {
instruction.offset_from(self.state.current_frame.program.instruction(0).unwrap())
});
Expand Down

0 comments on commit a03ac29

Please sign in to comment.