Commit 83eb4fd9 authored by Simon Marlow's avatar Simon Marlow

Small simplification (#11777)

DEAD_WEAK used to have a different layout, see
d61c623e
parent c6e579bc
......@@ -413,11 +413,7 @@ markWeakPtrList ( void )
evacuate((StgClosure **)last_w);
w = *last_w;
if (w->header.info == &stg_DEAD_WEAK_info) {
last_w = &(w->link);
} else {
last_w = &(w->link);
}
last_w = &(w->link);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment