From: Simon Marlow Date: Fri, 10 Mar 2006 20:44:49 +0000 (+0000) Subject: Enable shortcutting of stack squeezing X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=4dfe2a24d9717a809cebc14592212bf3bdf46342 Enable shortcutting of stack squeezing Not sure why it was disabled, probably by accident. --- diff --git a/ghc/rts/GC.c b/ghc/rts/GC.c index 1e40065..4235d3e 100644 --- a/ghc/rts/GC.c +++ b/ghc/rts/GC.c @@ -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); } }