summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-04-29 11:27:03 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-05-07 09:03:06 -0400
commitf29e42be4f3f913e7ab2112bdbaa071187eee3a4 (patch)
treeb0e1b198f688dc33a7527253217826c61bb6c429
parent2c9607d49dcbaf0581e340062ca687a775c5a88d (diff)
downloadhaskell-wip/angerman/interpreter-disassemble-bco.tar.gz
[rts] disassemble bco, when running with -Diwip/angerman/interpreter-disassemble-bco
-rw-r--r--rts/Interpreter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index efbfd091d8..019e09c96c 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -1018,7 +1018,7 @@ run_BCO:
bcoSize = bco->instrs->bytes / sizeof(StgWord16);
#endif
IF_DEBUG(interpreter,debugBelch("bcoSize = %d\n", bcoSize));
-
+ IF_DEBUG(interpreter,disassemble( bco ));
#if defined(INTERP_STATS)
it_lastopc = 0; /* no opcode */
#endif