diff options
author | Arash Rouhani <rarash@student.chalmers.se> | 2013-12-26 14:57:35 +0100 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-01-15 10:36:59 -0600 |
commit | d1712dbd2b4c5d23a60d8a369e17045a397bf4f5 (patch) | |
tree | 26b6b65da729b6e941a59f5f90222cfbb501e40f /rts/Printer.h | |
parent | 778b48afc36e2b0eb44387e2a36947ac0c6ddd95 (diff) | |
download | haskell-d1712dbd2b4c5d23a60d8a369e17045a397bf4f5.tar.gz |
In rts/Printer.c, print exact UPDATE_FRAME type
When printing an update frame in printClosure(), it will not print
the unspecific UPDATE_FRAME, instead it prints BH_UPDATE_FRAME,
NORMAL_UPDATE_FRAME or MARKED_UPDATE_FRAME.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/Printer.h')
-rw-r--r-- | rts/Printer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Printer.h b/rts/Printer.h index 7b51ce55b5..0dae896414 100644 --- a/rts/Printer.h +++ b/rts/Printer.h @@ -19,6 +19,7 @@ extern char * closure_type_names[]; void info_hdr_type ( StgClosure *closure, char *res ); char * info_type ( StgClosure *closure ); char * info_type_by_ip ( StgInfoTable *ip ); +char * info_update_frame ( StgClosure *closure ); #ifdef DEBUG extern void prettyPrintClosure (StgClosure *obj); |