Skip to content

Commit

Permalink
Don't print
Browse files Browse the repository at this point in the history
  • Loading branch information
Quaqqer committed Jan 22, 2024
1 parent 494e7db commit 7c729e9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/saft-bytecode/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@ impl Vm {
) -> Result<(), Error> {
self.call_stack.push(CallFrame::new(chunk, 0));

let res = self.run(constants);
println!(
"final stack: {:?}",
self.stack.iter().map(|v| v.repr()).collect::<Vec<_>>()
);
res
self.run(constants)
}

pub fn interpret_expr(
Expand Down

0 comments on commit 7c729e9

Please sign in to comment.