projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-11-12 17:49:05 by sof]
[ghc-hetmet.git]
/
ghc
/
rts
/
BlockAlloc.h
diff --git
a/ghc/rts/BlockAlloc.h
b/ghc/rts/BlockAlloc.h
index
bb6e63f
..
32db948
100644
(file)
--- a/
ghc/rts/BlockAlloc.h
+++ b/
ghc/rts/BlockAlloc.h
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: BlockAlloc.h,v 1.8 1999/11/09 15:46:49 simonmar Exp $
+ * $Id: BlockAlloc.h,v 1.10 2003/11/12 17:49:06 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* (c) The GHC Team, 1998-1999
*
@@
-28,7
+28,7
@@
extern void freeChain(bdescr *p);
#define WORDS_PER_MBLOCK (BLOCKS_PER_MBLOCK * BLOCK_SIZE_W)
#define WORDS_PER_MBLOCK (BLOCKS_PER_MBLOCK * BLOCK_SIZE_W)
-static inline nat
+INLINE_HEADER nat
round_to_mblocks(nat words)
{
if (words > WORDS_PER_MBLOCK) {
round_to_mblocks(nat words)
{
if (words > WORDS_PER_MBLOCK) {
@@
-48,4
+48,4
@@
extern void checkFreeListSanity(void);
nat countFreeList(void);
#endif
nat countFreeList(void);
#endif
-#endif BLOCK_ALLOC_H
+#endif /* BLOCK_ALLOC_H */