projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
19c563c
)
fix a warning
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 1 Nov 2007 15:02:00 +0000
(15:02 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 1 Nov 2007 15:02:00 +0000
(15:02 +0000)
rts/sm/Evac.c
patch
|
blob
|
history
diff --git
a/rts/sm/Evac.c
b/rts/sm/Evac.c
index
2bbd5c9
..
26646fe
100644
(file)
--- a/
rts/sm/Evac.c
+++ b/
rts/sm/Evac.c
@@
-239,7
+239,7
@@
selector_chain:
// In threaded mode, we'll use WHITEHOLE to lock the selector
// thunk while we evaluate it.
{
// In threaded mode, we'll use WHITEHOLE to lock the selector
// thunk while we evaluate it.
{
- info_ptr = (StgInfoTable *)xchg((StgPtr)&p->header.info, (W_)&stg_WHITEHOLE_info);
+ info_ptr = xchg((StgPtr)&p->header.info, (W_)&stg_WHITEHOLE_info);
if (info_ptr == (W_)&stg_WHITEHOLE_info) {
do {
info_ptr = xchg((StgPtr)&p->header.info, (W_)&stg_WHITEHOLE_info);
if (info_ptr == (W_)&stg_WHITEHOLE_info) {
do {
info_ptr = xchg((StgPtr)&p->header.info, (W_)&stg_WHITEHOLE_info);