Commit 8e60e3f0 authored by Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld) Committed by Marge Bot

rts: Fix RetainerProfile early return with TREC_CHUNK

When pop() returns with `*c == NULL` retainerProfile will immediately
return. All other code paths is pop() continue with the next stackElement
when this happens so it seems weird to me that TREC_CHUNK we would suddenly
abort everything even though the stack might still have elements left to
process.
parent 5023adce
Pipeline #6773 failed with stages
in 856 minutes and 11 seconds
......@@ -849,7 +849,7 @@ pop( StgClosure **c, StgClosure **cp, retainer *r )
if (entry_no == ((StgTRecChunk *)se->c)->next_entry_idx) {
*c = NULL;
popOff();
return;
break;
}
entry = &((StgTRecChunk *)se->c)->entries[entry_no];
if (field_no == 0) {
......
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