[commit: ghc] master: Tidy up and refactor overflow checking for literals (03e44ee)

git at git.haskell.org git at git.haskell.org
Wed Sep 18 14:07:06 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/03e44ee7ff9fbfad6a94e32a9c394c2166ff4284/ghc

>---------------------------------------------------------------

commit 03e44ee7ff9fbfad6a94e32a9c394c2166ff4284
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Sep 18 00:27:19 2013 +0100

    Tidy up and refactor overflow checking for literals
    
    It's much easier (and more efficient) to pattern match on
    the HsOverLit than on the desugared version!


>---------------------------------------------------------------

03e44ee7ff9fbfad6a94e32a9c394c2166ff4284
 compiler/deSugar/DsExpr.lhs   |  127 +++---------------------------
 compiler/deSugar/MatchLit.lhs |  175 +++++++++++++++++++++++++++++++++--------
 2 files changed, 153 insertions(+), 149 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 03e44ee7ff9fbfad6a94e32a9c394c2166ff4284



More information about the ghc-commits mailing list