Commit 5cc57129 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-10-21 12:42:31 by simonmar]

Turn an instance of 0xfff00000 into ~MBLOCK_MASK in the Win32 code.
parent 2be44cb2
/* -----------------------------------------------------------------------------
* $Id: MBlock.c,v 1.30 2002/10/21 11:38:53 simonmar Exp $
* $Id: MBlock.c,v 1.31 2002/10/21 12:42:31 simonmar Exp $
*
* (c) The GHC Team 1998-1999
*
......@@ -258,7 +258,7 @@ getMBlocks(nat n)
} else {
end_non_committed = (char*)base_non_committed + (unsigned long)size_reserved_pool;
/* The returned pointer is not aligned on a mega-block boundary. Make it. */
base_mblocks = (char*)((unsigned long)base_non_committed & (unsigned long)0xfff00000) + MBLOCK_SIZE;
base_mblocks = (char*)((unsigned long)base_non_committed & (unsigned long)~MBLOCK_MASK) + MBLOCK_SIZE;
# if 0
fprintf(stderr, "getMBlocks: Dropping %d bytes off of 256M chunk\n",
(unsigned)base_mblocks - (unsigned)base_non_committed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment