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:
dcb182a
)
[project @ 2004-09-03 10:11:57 by simonmar]
author
simonmar
<unknown>
Fri, 3 Sep 2004 10:11:57 +0000
(10:11 +0000)
committer
simonmar
<unknown>
Fri, 3 Sep 2004 10:11:57 +0000
(10:11 +0000)
Fix bug in isEmptyMVar#
ghc/rts/PrimOps.cmm
patch
|
blob
|
history
diff --git
a/ghc/rts/PrimOps.cmm
b/ghc/rts/PrimOps.cmm
index
4d51394
..
d4a54c6
100644
(file)
--- a/
ghc/rts/PrimOps.cmm
+++ b/
ghc/rts/PrimOps.cmm
@@
-933,9
+933,9
@@
isEmptyMVarzh_fast
/* args: R1 = MVar closure */
if (GET_INFO(R1) == stg_EMPTY_MVAR_info) {
- RET_N(0);
- } else {
RET_N(1);
+ } else {
+ RET_N(0);
}
}