summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'ghc')
-rw-r--r--ghc/rts/PrimOps.cmm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/rts/PrimOps.cmm b/ghc/rts/PrimOps.cmm
index 4d513946fd..d4a54c6528 100644
--- 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);
}
}