projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #2992: don't create a named event
[ghc-hetmet.git]
/
rts
/
Printer.c
diff --git
a/rts/Printer.c
b/rts/Printer.c
index
3e80bd1
..
2fbe276
100644
(file)
--- a/
rts/Printer.c
+++ b/
rts/Printer.c
@@
-121,8
+121,9
@@
printThunkObject( StgThunk *obj, char* tag )
void
printClosure( StgClosure *obj )
{
void
printClosure( StgClosure *obj )
{
+ obj = UNTAG_CLOSURE(obj);
+
StgInfoTable *info;
StgInfoTable *info;
-
info = get_itbl(obj);
switch ( info->type ) {
info = get_itbl(obj);
switch ( info->type ) {
@@
-306,14
+307,6
@@
printClosure( StgClosure *obj )
debugBelch("BH\n");
break;
debugBelch("BH\n");
break;
- case SE_BLACKHOLE:
- debugBelch("SE_BH\n");
- break;
-
- case SE_CAF_BLACKHOLE:
- debugBelch("SE_CAF_BH\n");
- break;
-
case ARR_WORDS:
{
StgWord i;
case ARR_WORDS:
{
StgWord i;