Skip to content

Commit

Permalink
Remove accidentally committed unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
k-sareen committed Nov 29, 2024
1 parent 8dff03c commit 6023bb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/scheduler/gc_work.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ impl<E: ProcessEdgesWork> ObjectTracer for ProcessEdgesWorkTracer<E> {
/// Forward the `trace_object` call to the underlying `ProcessEdgesWork`,
/// and flush as soon as the underlying buffer of `process_edges_work` is full.
fn trace_object(&mut self, object: ObjectReference) -> ObjectReference {
debug_assert!(!object.is_null());
debug_assert!(
<E::VM as VMBinding>::VMObjectModel::is_object_sane(object),
"Object {:?} is not sane!",
Expand Down Expand Up @@ -699,7 +698,6 @@ impl<VM: VMBinding> ProcessEdgesWork for SFTProcessEdges<VM> {
fn trace_object(&mut self, object: ObjectReference) -> ObjectReference {
use crate::policy::sft::GCWorkerMutRef;

debug_assert!(!object.is_null());
debug_assert!(
<VM as VMBinding>::VMObjectModel::is_object_sane(object),
"Object {:?} is not sane!",
Expand Down

0 comments on commit 6023bb7

Please sign in to comment.