Skip to content

Commit fcc23a6

Browse files
refactor(vm): address clippy linter comments.
1 parent 8105ec3 commit fcc23a6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

compiler/src/modules/vm/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ impl<'a> VM<'a> {
721721
Self::exec_phi(op, rip, &chunk.phi_map, slots, &chunk.phi_sources);
722722
}
723723

724-
OpCode::LoadAttr => { eprintln!("DISPATCH LoadAttr op={}", op); self.handle_load_attr(op, chunk)?; }
724+
OpCode::LoadAttr => { self.handle_load_attr(op, chunk)?; }
725725

726726
// ── FUSED METHOD CALL ─────────────────────────────────────
727727
OpCode::CallMethod => {
@@ -763,7 +763,6 @@ impl<'a> VM<'a> {
763763
self.push(cls);
764764
}
765765
OpCode::StoreAttr => {
766-
eprintln!("STORE_ATTR: op={} name={:?}", op, chunk.names.get(op as usize));
767766
let value = self.pop()?;
768767
let obj = self.pop()?;
769768
if !obj.is_heap() { return Err(cold_type("cannot set attribute")); }

0 commit comments

Comments
 (0)