Commit 4ca86427 authored by ian@well-typed.com's avatar ian@well-typed.com

Add braces for clarity

parent fe652a8b
......@@ -1768,9 +1768,10 @@ computeRetainerSet( void )
// The following code assumes that WEAK objects are considered to be roots
// for retainer profilng.
for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
for (weak = generations[g].weak_ptr_list; weak != NULL; weak = weak->link)
for (weak = generations[g].weak_ptr_list; weak != NULL; weak = weak->link) {
// retainRoot((StgClosure *)weak);
retainRoot(NULL, (StgClosure **)&weak);
}
}
// Consider roots from the stable ptr table.
......
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