Commit 49e9d739 authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan Committed by Marge Bot

rts: Fix printClosure when printing fwd ptrs

parent 3f116d35
Pipeline #16728 failed with stages
in 376 minutes and 43 seconds
......@@ -117,7 +117,7 @@ printClosure( const StgClosure *obj )
const StgInfoTable* info = get_itbl(obj);
while (IS_FORWARDING_PTR(info)) {
obj = (StgClosure*)UN_FORWARDING_PTR(obj);
obj = (StgClosure*)UN_FORWARDING_PTR(info);
debugBelch("(forwarding to %p) ", (void*)obj);
info = get_itbl(obj);
}
......
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