[project @ 2002-09-17 12:34:31 by simonmar]
authorsimonmar <unknown>
Tue, 17 Sep 2002 12:34:31 +0000 (12:34 +0000)
committersimonmar <unknown>
Tue, 17 Sep 2002 12:34:31 +0000 (12:34 +0000)
and for good measure, use STGCALL1 rather than a bare C call.

ghc/rts/StgMiscClosures.hc

index 0b2498e..13a8809 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: StgMiscClosures.hc,v 1.79 2002/09/17 12:33:08 simonmar Exp $
+ * $Id: StgMiscClosures.hc,v 1.80 2002/09/17 12:34:31 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -40,7 +40,7 @@
 STGFUN(stg_##type##_entry)                     \
 {                                              \
   FB_                                          \
-    barf(#type " object entered!\n");          \
+    STGCALL1(barf, #type " object entered!\n");        \
   FE_                                          \
 }