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:
c01264c
)
FIX #1898: add a missing UNTAG_CLOSURE() in checkBlackHoles
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 3 Jan 2008 11:27:17 +0000
(11:27 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 3 Jan 2008 11:27:17 +0000
(11:27 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
cb2f7f3
..
3a45495
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2949,7
+2949,7
@@
checkBlackHoles (Capability *cap)
t = blackhole_queue;
while (t != END_TSO_QUEUE) {
ASSERT(t->why_blocked == BlockedOnBlackHole);
- type = get_itbl(t->block_info.closure)->type;
+ type = get_itbl(UNTAG_CLOSURE(t->block_info.closure))->type;
if (type != BLACKHOLE && type != CAF_BLACKHOLE) {
IF_DEBUG(sanity,checkTSO(t));
t = unblockOne(cap, t);