Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-blaeser committed Jan 26, 2023
1 parent 994a9ac commit 60f60fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rts/motoko-rts/src/gc/incremental/sanity_checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ impl<'a, M: Memory> MemoryChecker<'a, M> {

unsafe fn check_object_header(&self, object: Value) {
let tag = object.tag();
if tag == TAG_FREE_SPACE {
println!(100, "ERROR {:#x} {tag}", object.get_ptr());
}
assert!(tag >= TAG_OBJECT && tag <= TAG_NULL);
object.check_forwarding_pointer();
if let CheckerMode::UpdateCompletion = self.mode {
Expand Down

0 comments on commit 60f60fd

Please sign in to comment.