[project @ 2001-08-29 14:55:58 by sewardj]
[ghc-hetmet.git] / ghc / rts / RtsUtils.c
index 1820c79..cc90b39 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: RtsUtils.c,v 1.20 2001/08/14 13:40:09 sewardj Exp $
+ * $Id: RtsUtils.c,v 1.21 2001/08/29 14:55:58 sewardj Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -112,6 +112,12 @@ stgReallocWords (void *p, int n, char *msg)
   return(stgReallocBytes(p, n * sizeof(W_), msg));
 }
 
+void *
+stgCallocBytes (int n, int m, char *msg)
+{
+  return stgMallocBytes(n*m, msg);
+}
+
 void 
 _stgAssert (char *filename, unsigned int linenum)
 {