Commit 4dfe2a24 authored by Simon Marlow's avatar Simon Marlow
Browse files

Enable shortcutting of stack squeezing

Not sure why it was disabled, probably by accident.
parent 05dad812
......@@ -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);
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