Skip to content
Snippets Groups Projects
Commit 8e60e3f0 authored by Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld) Committed by Marge Bot
Browse files

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
No related branches found
No related tags found
No related merge requests found
Pipeline #6773 failed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment