projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-07-17 09:21:48 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
Arena.c
diff --git
a/ghc/rts/Arena.c
b/ghc/rts/Arena.c
index
f719400
..
ba6774b
100644
(file)
--- a/
ghc/rts/Arena.c
+++ b/
ghc/rts/Arena.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- $Id: Arena.c,v 1.1 2001/10/18 14:41:01 simonmar Exp $
+ $Id: Arena.c,v 1.2 2002/07/17 09:21:49 simonmar Exp $
(c) The University of Glasgow 2001
Arena allocation. Arenas provide fast memory allocation at the
(c) The University of Glasgow 2001
Arena allocation. Arenas provide fast memory allocation at the
@@
-24,6
+24,8
@@
#include "BlockAlloc.h"
#include "Arena.h"
#include "BlockAlloc.h"
#include "Arena.h"
+#include <stdlib.h>
+
// Each arena struct is allocated using malloc().
struct _Arena {
bdescr *current;
// Each arena struct is allocated using malloc().
struct _Arena {
bdescr *current;