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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
4dfe2a24
Commit
4dfe2a24
authored
Mar 10, 2006
by
Simon Marlow
Browse files
Enable shortcutting of stack squeezing
Not sure why it was disabled, probably by accident.
parent
05dad812
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/GC.c
View file @
4dfe2a24
...
...
@@ -4690,8 +4690,8 @@ end:
// Should we squeeze or not? Arbitrary heuristic: we squeeze if
// the number of words we have to shift down is less than the
// number of stack words we squeeze away by doing so.
if
(
1
/*
RtsFlags.GcFlags.squeezeUpdFrames == rtsTrue &&
weight < words_to_squeeze
*/
)
{
if
(
RtsFlags
.
GcFlags
.
squeezeUpdFrames
==
rtsTrue
&&
weight
<
words_to_squeeze
)
{
stackSqueeze
(
tso
,
(
StgPtr
)
frame
);
}
}
...
...
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