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:
c8072f7
)
tiny cleanup
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 6 Feb 2009 13:07:15 +0000
(13:07 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 6 Feb 2009 13:07:15 +0000
(13:07 +0000)
rts/parallel/WSDeque.c
patch
|
blob
|
history
diff --git
a/rts/parallel/WSDeque.c
b/rts/parallel/WSDeque.c
index
e7fd58a
..
6dfabd9
100644
(file)
--- a/
rts/parallel/WSDeque.c
+++ b/
rts/parallel/WSDeque.c
@@
-275,7
+275,7
@@
pushWSDeque (WSDeque* q, void * elem)
}
pos = (q->elements) + (b & sz);
*pos = elem;
- (q->bottom)++;
+ q->bottom = b + 1;
ASSERT_WSDEQUE_INVARIANTS(q);
return rtsTrue;