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-07-30 10:38:42 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
MBlock.h
diff --git
a/ghc/rts/MBlock.h
b/ghc/rts/MBlock.h
index
c369416
..
de5d0b4
100644
(file)
--- a/
ghc/rts/MBlock.h
+++ b/
ghc/rts/MBlock.h
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: MBlock.h,v 1.16 2002/11/22 06:54:05 matthewc Exp $
+ * $Id: MBlock.h,v 1.17 2003/07/30 10:38:42 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* (c) The GHC Team, 1998-1999
*
@@
-70,11
+70,6
@@
extern StgWord8 mblock_map[];
# define MARK_HEAP_ALLOCED(p) ((MBLOCK_MAP_ENTRY(p) < MBLOCK_MAP_SIZE) \
&& (mblock_map[MBLOCK_MAP_ENTRY(p)] = 1))
# define MARK_HEAP_ALLOCED(p) ((MBLOCK_MAP_ENTRY(p) < MBLOCK_MAP_SIZE) \
&& (mblock_map[MBLOCK_MAP_ENTRY(p)] = 1))
-#elif defined(TEXT_BEFORE_HEAP)
-/* Fall back to old method - assume heap above HEAP_BASE */
-# define HEAP_ALLOCED(p) ((StgPtr)(p) >= (StgPtr)(HEAP_BASE))
-# define MARK_HEAP_ALLOCED(p) do {} while(0)
-
#else
# error HEAP_ALLOCED not defined
#endif
#else
# error HEAP_ALLOCED not defined
#endif