projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edb58a7
)
should be using GET_CON_DESC() to get the constructor name
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 13 Jun 2007 09:52:01 +0000
(09:52 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 13 Jun 2007 09:52:01 +0000
(09:52 +0000)
rts/Printer.c
patch
|
blob
|
history
diff --git
a/rts/Printer.c
b/rts/Printer.c
index
7364edd
..
b33d238
100644
(file)
--- a/
rts/Printer.c
+++ b/
rts/Printer.c
@@
-1164,7
+1164,7
@@
void prettyPrintClosure_ (StgClosure *obj)
con_info = get_con_itbl (obj);
/* obtain the name of the constructor */
con_info = get_con_itbl (obj);
/* obtain the name of the constructor */
- descriptor = con_info->con_desc;
+ descriptor = GET_CON_DESC(con_info);
debugBelch ("(%s", descriptor);
debugBelch ("(%s", descriptor);