Skip to content
Snippets Groups Projects
Commit fc5cd5a5 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-07-26 13:29:03 by simonmar]

- add wORD_SIZE		(size of an StgWord in bytes)
- add bLOCK_SIZE_W	(size of a storage manager block in words)
parent 1773a3e1
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,10 @@ module Constants (
iNT64_SIZE,
wORD64_SIZE,
wORD_SIZE,
bLOCK_SIZE,
bLOCK_SIZE_W,
interfaceFileFormatVersion
......@@ -223,8 +226,15 @@ area is has available.
rESERVED_C_STACK_BYTES = (RESERVED_C_STACK_BYTES :: Int)
\end{code}
Size of a word, in bytes
\begin{code}
wORD_SIZE = (WORD_SIZE :: Int)
\end{code}
Size of a storage manager block (in bytes).
\begin{code}
bLOCK_SIZE = (BLOCK_SIZE :: Int)
bLOCK_SIZE_W = (bLOCK_SIZE `div` wORD_SIZE :: Int)
\end{code}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment