Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e5bb515e
Commit
e5bb515e
authored
May 10, 2018
by
Ömer Sinan Ağacan
Browse files
rts: remove unused round_up_to_mblocks function
parent
b2ff5dde
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/rts/storage/Block.h
View file @
e5bb515e
...
@@ -338,13 +338,4 @@ round_to_mblocks(StgWord words)
...
@@ -338,13 +338,4 @@ round_to_mblocks(StgWord words)
return
words
;
return
words
;
}
}
INLINE_HEADER
StgWord
round_up_to_mblocks
(
StgWord
words
)
{
words
+=
FIRST_BLOCK_OFF
/
sizeof
(
W_
);
words
=
((
words
/
MBLOCK_SIZE_W
)
+
1
)
*
MBLOCK_SIZE_W
;
words
-=
FIRST_BLOCK_OFF
/
sizeof
(
W_
);
return
words
;
}
#endif
/* !CMINUSMINUS */
#endif
/* !CMINUSMINUS */
Write
Preview
Supports
Markdown
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