Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a05f9df1
Commit
a05f9df1
authored
Feb 18, 2003
by
sof
Browse files
[project @ 2003-02-18 05:47:53 by sof]
make use of MBLOCK_ROUND_DOWN()
parent
9508bce2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/BlockAlloc.c
View file @
a05f9df1
/* -----------------------------------------------------------------------------
* $Id: BlockAlloc.c,v 1.1
5
2003/0
1/28 17:04
:5
8
s
imonmar
Exp $
* $Id: BlockAlloc.c,v 1.1
6
2003/0
2/18 05:47
:5
3
s
of
Exp $
*
* (c) The GHC Team 1998-2000
*
...
...
@@ -265,7 +265,7 @@ freeMegaGroup(bdescr *p)
n
=
p
->
blocks
*
BLOCK_SIZE
/
MBLOCK_SIZE
+
1
;
for
(;
n
>
0
;
(
W_
)
p
+=
MBLOCK_SIZE
,
n
--
)
{
initMBlock
(
(
void
*
)((
W_
)
p
&
~
MBLOCK_MASK
));
initMBlock
(
MBLOCK_ROUND_DOWN
(
p
));
initGroup
(
BLOCKS_PER_MBLOCK
,
p
);
freeGroup
(
p
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment