[commit: ghc] wip/redundant-constraints: Remove redundant constraints in the compiler itself, found by -fwarn-redundant-constraints (0b3f53f)

git at git.haskell.org git at git.haskell.org
Mon Jan 5 17:00:03 UTC 2015


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

On branch  : wip/redundant-constraints
Link       : http://ghc.haskell.org/trac/ghc/changeset/0b3f53fb8d86278ead96ea08bedd8990d3256dc4/ghc

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

commit 0b3f53fb8d86278ead96ea08bedd8990d3256dc4
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Jan 5 16:57:01 2015 +0000

    Remove redundant constraints in the compiler itself, found by -fwarn-redundant-constraints


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

0b3f53fb8d86278ead96ea08bedd8990d3256dc4
 compiler/basicTypes/Name.hs                     |  3 ++-
 compiler/cmm/CmmExpr.hs                         |  8 ++++----
 compiler/cmm/Hoopl/Dataflow.hs                  |  2 +-
 compiler/coreSyn/TrieMap.hs                     |  4 ++--
 compiler/deSugar/MatchLit.hs                    |  2 +-
 compiler/ghci/ByteCodeItbls.hs                  |  6 ++++--
 compiler/ghci/Linker.hs                         |  2 +-
 compiler/hsSyn/HsDecls.hs                       |  8 +++-----
 compiler/hsSyn/HsExpr.hs                        |  8 ++++----
 compiler/main/CmdLineParser.hs                  |  2 +-
 compiler/main/GHC.hs                            | 10 +++++++---
 compiler/main/GhcMonad.hs                       | 17 +++++++++++++----
 compiler/main/InteractiveEval.hs                |  2 +-
 compiler/nativeGen/RegAlloc/Graph/SpillClean.hs |  9 +++------
 compiler/nativeGen/RegAlloc/Linear/Main.hs      |  4 ++--
 compiler/nativeGen/SPARC/Base.hs                |  2 +-
 compiler/typecheck/TcRnMonad.hs                 |  3 ++-
 compiler/types/CoAxiom.hs                       |  2 +-
 compiler/utils/Binary.hs                        |  2 +-
 compiler/utils/GraphColor.hs                    |  2 +-
 compiler/utils/GraphOps.hs                      | 20 ++++++++------------
 compiler/utils/GraphPpr.hs                      |  7 +++----
 compiler/utils/Maybes.hs                        |  4 ++++
 compiler/utils/Serialized.hs                    |  4 ++--
 compiler/utils/UniqSet.hs                       |  2 +-
 25 files changed, 73 insertions(+), 62 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 0b3f53fb8d86278ead96ea08bedd8990d3256dc4


More information about the ghc-commits mailing list