Skip to content

Commit fc6a2aa

Browse files
committed
Minor fix on the assertion in immix space
1 parent f1d2eb8 commit fc6a2aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/policy/immix/immixspace.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,16 +709,16 @@ impl<VM: VMBinding> ImmixSpace<VM> {
709709
object,
710710
semantics,
711711
copy_context,
712-
|_new_object| {
712+
|new_object| {
713713
// post_copy should have set the unlog bit
714714
// if `unlog_traced_object` is true.
715715
debug_assert!(
716716
!self.common.unlog_traced_object
717717
|| VM::VMObjectModel::GLOBAL_LOG_BIT_SPEC
718-
.is_unlogged::<VM>(object, Ordering::Relaxed)
718+
.is_unlogged::<VM>(new_object, Ordering::Relaxed)
719719
);
720720
#[cfg(feature = "vo_bit")]
721-
vo_bit::helper::on_object_forwarded::<VM>(_new_object);
721+
vo_bit::helper::on_object_forwarded::<VM>(new_object);
722722
},
723723
)
724724
};

0 commit comments

Comments
 (0)