[commit: ghc] master: Remove redundant constraints in the compiler itself, found by -fwarn-redundant-constraints (39337a6)

git at git.haskell.org git at git.haskell.org
Tue Jan 6 15:10:20 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/39337a6d97c853a88fa61d6b12a04eb8c2e5984f/ghc

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

commit 39337a6d97c853a88fa61d6b12a04eb8c2e5984f
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


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

39337a6d97c853a88fa61d6b12a04eb8c2e5984f
 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                |  3 +--
 compiler/nativeGen/RegAlloc/Graph/SpillClean.hs | 11 ++++-------
 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                    |  6 +++---
 compiler/utils/GraphOps.hs                      | 24 ++++++++++--------------
 compiler/utils/GraphPpr.hs                      |  9 ++++-----
 compiler/utils/Maybes.hs                        |  4 ++++
 compiler/utils/Serialized.hs                    |  4 ++--
 compiler/utils/UniqSet.hs                       |  2 +-
 25 files changed, 79 insertions(+), 69 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 39337a6d97c853a88fa61d6b12a04eb8c2e5984f


More information about the ghc-commits mailing list