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:
0488ced
)
EVACUATED: target is definitely HEAP_ALLOCED(), no need to check
author
simonmar@microsoft.com
<unknown>
Thu, 29 Nov 2007 12:00:21 +0000
(12:00 +0000)
committer
simonmar@microsoft.com
<unknown>
Thu, 29 Nov 2007 12:00:21 +0000
(12:00 +0000)
rts/sm/Evac.c-inc
patch
|
blob
|
history
diff --git
a/rts/sm/Evac.c-inc
b/rts/sm/Evac.c-inc
index
477c061
..
7e10452
100644
(file)
--- a/
rts/sm/Evac.c-inc
+++ b/
rts/sm/Evac.c-inc
@@
-482,7
+482,7
@@
loop:
StgClosure *e = ((StgEvacuated*)q)->evacuee;
*p = e;
if (stp < gct->evac_step) { // optimisation
- if (HEAP_ALLOCED(e) && Bdescr((P_)e)->step < gct->evac_step) {
+ if (Bdescr((P_)e)->step < gct->evac_step) {
gct->failed_to_evac = rtsTrue;
TICK_GC_FAILED_PROMOTION();
}