projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-12-08 10:29:01 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
GCCompact.h
diff --git
a/ghc/rts/GCCompact.h
b/ghc/rts/GCCompact.h
index
4de4bf3
..
711b57b
100644
(file)
--- a/
ghc/rts/GCCompact.h
+++ b/
ghc/rts/GCCompact.h
@@
-1,5
+1,4
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: GCCompact.h,v 1.2 2001/07/30 13:06:18 simonmar Exp $
*
* (c) The GHC Team 1998-1999
*
*
* (c) The GHC Team 1998-1999
*
@@
-7,7
+6,7
@@
*
* ---------------------------------------------------------------------------*/
*
* ---------------------------------------------------------------------------*/
-static inline void
+INLINE_HEADER void
mark(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words
mark(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words
@@
-17,7
+16,7
@@
mark(StgPtr p, bdescr *bd)
*bitmap_word |= bit_mask;
}
*bitmap_word |= bit_mask;
}
-static inline void
+INLINE_HEADER void
unmark(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words
unmark(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words
@@
-27,7
+26,7
@@
unmark(StgPtr p, bdescr *bd)
*bitmap_word &= ~bit_mask;
}
*bitmap_word &= ~bit_mask;
}
-static inline int
+INLINE_HEADER int
is_marked(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words
is_marked(StgPtr p, bdescr *bd)
{
nat offset_within_block = p - bd->start; // in words