[commit: ghc] master: Handle TREC_CHUNK in printClosure (929bbe4)

git at git.haskell.org git at git.haskell.org
Wed May 30 08:59:28 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/929bbe4fb2bc701d4820bcf7a1b1ff074f8d6226/ghc

>---------------------------------------------------------------

commit 929bbe4fb2bc701d4820bcf7a1b1ff074f8d6226
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Wed May 30 11:55:02 2018 +0300

    Handle TREC_CHUNK in printClosure


>---------------------------------------------------------------

929bbe4fb2bc701d4820bcf7a1b1ff074f8d6226
 rts/Printer.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rts/Printer.c b/rts/Printer.c
index 46a2076..ae76a41 100644
--- a/rts/Printer.c
+++ b/rts/Printer.c
@@ -412,6 +412,9 @@ printClosure( const StgClosure *obj )
                    (W_)((StgCompactNFData *)obj)->totalW * (W_)sizeof(W_));
         break;
 
+    case TREC_CHUNK:
+        debugBelch("TREC_CHUNK\n");
+        break;
 
     default:
             //barf("printClosure %d",get_itbl(obj)->type);



More information about the ghc-commits mailing list