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:
b050008
)
[project @ 2005-04-25 15:56:19 by simonmar]
author
simonmar
<unknown>
Mon, 25 Apr 2005 15:56:19 +0000
(15:56 +0000)
committer
simonmar
<unknown>
Mon, 25 Apr 2005 15:56:19 +0000
(15:56 +0000)
scavenge_one: fix reversed PAP/AP cases
ghc/rts/GC.c
patch
|
blob
|
history
diff --git
a/ghc/rts/GC.c
b/ghc/rts/GC.c
index
41ca61d
..
e77cbf5
100644
(file)
--- a/
ghc/rts/GC.c
+++ b/
ghc/rts/GC.c
@@
-3368,11
+3368,11
@@
scavenge_one(StgPtr p)
}
case PAP:
- p = scavenge_AP((StgAP *)p);
+ p = scavenge_PAP((StgPAP *)p);
break;
case AP:
- p = scavenge_PAP((StgPAP *)p);
+ p = scavenge_AP((StgAP *)p);
break;
case ARR_WORDS: