[project @ 2000-01-13 12:40:15 by simonmar]
[ghc-hetmet.git] / ghc / rts / PrimOps.hc
index 1f48c3b..01d0a0a 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: PrimOps.hc,v 1.36 1999/12/08 14:21:52 simonmar Exp $
+ * $Id: PrimOps.hc,v 1.38 2000/01/13 12:40:15 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -9,8 +9,6 @@
 
 #include "Rts.h"
 
-#ifdef COMPILER
-
 #include "RtsFlags.h"
 #include "StgStartup.h"
 #include "SchedAPI.h"
@@ -899,8 +897,7 @@ FN_(putMVarzh_fast)
 #endif
 
   if (info == &FULL_MVAR_info) {
-    fprintf(stderr, "putMVar#: MVar already full.\n");
-    stg_exit(EXIT_FAILURE);
+    barf("putMVar#: MVar already full");
   }
   
   mvar->value = R2.cl;
@@ -1008,5 +1005,4 @@ FN_(delayzh_fast)
   FE_
 }
 
-#endif /* COMPILER */