diff --git a/crates/saft-bytecode/src/vm.rs b/crates/saft-bytecode/src/vm.rs index 3ba3ea9..62e76bc 100644 --- a/crates/saft-bytecode/src/vm.rs +++ b/crates/saft-bytecode/src/vm.rs @@ -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::>() - ); - res + self.run(constants) } pub fn interpret_expr(