Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : newcg
http://hackage.haskell.org/trac/ghc/changeset/65256948f73cc9e6eb4b9b2b25c085ef7a72004e >--------------------------------------------------------------- commit 65256948f73cc9e6eb4b9b2b25c085ef7a72004e Author: Simon Marlow <[email protected]> Date: Wed Mar 7 15:06:47 2012 +0000 Improve the case-alternative heap checks The code we were generating for heap-checks in algebraic case alternatives wasn't working well with the common-block eliminator. A small tweak to make the heap-check failure jump back to the same place in all branches lets the common-block eliminator squash more code. compiler/codeGen/StgCmmExpr.hs | 71 ++++++++++++++++++++++++++++----------- compiler/codeGen/StgCmmHeap.hs | 50 +++++++++++++++++++++------- 2 files changed, 89 insertions(+), 32 deletions(-) Diff suppressed because of size. To see it, use: git show 65256948f73cc9e6eb4b9b2b25c085ef7a72004e _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
