projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Trac #4240: -ddump-minimal-imports
[ghc-hetmet.git]
/
rts
/
Sparks.c
diff --git
a/rts/Sparks.c
b/rts/Sparks.c
index
93f6417
..
7e2556d
100644
(file)
--- a/
rts/Sparks.c
+++ b/
rts/Sparks.c
@@
-209,7
+209,7
@@
pruneSparkQueue (Capability *cap)
cap->sparks_pruned++;
}
} else if (HEAP_ALLOCED(spark) &&
cap->sparks_pruned++;
}
} else if (HEAP_ALLOCED(spark) &&
- (Bdescr(spark)->flags & BF_EVACUATED)) {
+ (Bdescr((P_)spark)->flags & BF_EVACUATED)) {
if (closure_SHOULD_SPARK(spark)) {
elements[botInd] = spark; // keep entry (new address)
botInd++;
if (closure_SHOULD_SPARK(spark)) {
elements[botInd] = spark; // keep entry (new address)
botInd++;