[commit: ghc] wip/T12618: Compress arguments to ConApp (e1b85d5)

git at git.haskell.org git at git.haskell.org
Fri Oct 21 15:49:17 UTC 2016


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

On branch  : wip/T12618
Link       : http://ghc.haskell.org/trac/ghc/changeset/e1b85d57311537dfa784abbe62c7b2fff702eb36/ghc

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

commit e1b85d57311537dfa784abbe62c7b2fff702eb36
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Oct 20 19:11:37 2016 -0400

    Compress arguments to ConApp
    
    I really wish I could use pattern synonyms (with exhaustiveness checks)
    here, would make the code much nicer.
    
    ConApp stores compressed arguments, mkConApp and collectConArgs compress
    resp. decompress.
    
    A promising number of places to not have to decompress the arguments!


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

e1b85d57311537dfa784abbe62c7b2fff702eb36
 compiler/basicTypes/MkId.hs         |  2 +-
 compiler/coreSyn/CoreFVs.hs         | 17 +++++----
 compiler/coreSyn/CoreLint.hs        |  6 +++-
 compiler/coreSyn/CorePrep.hs        | 28 +++++++--------
 compiler/coreSyn/CoreSeq.hs         |  2 +-
 compiler/coreSyn/CoreStats.hs       |  2 +-
 compiler/coreSyn/CoreSubst.hs       | 11 +++---
 compiler/coreSyn/CoreSyn.hs         |  9 ++---
 compiler/coreSyn/CoreTidy.hs        |  2 +-
 compiler/coreSyn/CoreUnfold.hs      |  6 ++--
 compiler/coreSyn/CoreUtils.hs       | 70 +++++++++++++++++++++++++++++--------
 compiler/coreSyn/MkCore.hs          |  6 ++--
 compiler/coreSyn/PprCore.hs         | 13 +++----
 compiler/coreSyn/TrieMap.hs         | 12 ++++---
 compiler/deSugar/DsBinds.hs         |  3 +-
 compiler/deSugar/DsCCall.hs         |  6 ++--
 compiler/deSugar/DsListComp.hs      |  8 ++---
 compiler/deSugar/DsUtils.hs         |  4 +--
 compiler/ghc.cabal.in               |  1 +
 compiler/ghc.mk                     |  1 +
 compiler/ghci/ByteCodeGen.hs        |  3 +-
 compiler/iface/MkIface.hs           |  6 ++--
 compiler/iface/TcIface.hs           |  2 +-
 compiler/main/StaticPtrTable.hs     |  4 ++-
 compiler/main/TidyPgm.hs            |  4 +--
 compiler/prelude/PrelRules.hs       | 13 +++----
 compiler/simplCore/CSE.hs           |  2 +-
 compiler/simplCore/CallArity.hs     |  6 ++--
 compiler/simplCore/FloatOut.hs      |  6 ++--
 compiler/simplCore/LiberateCase.hs  |  2 +-
 compiler/simplCore/OccurAnal.hs     |  7 ++--
 compiler/simplCore/SAT.hs           |  5 +--
 compiler/simplCore/SetLevels.hs     |  5 ++-
 compiler/simplCore/Simplify.hs      | 17 ++++-----
 compiler/specialise/Rules.hs        |  6 ++--
 compiler/specialise/SpecConstr.hs   | 14 +++++---
 compiler/specialise/Specialise.hs   |  6 ++--
 compiler/stgSyn/CoreToStg.hs        |  6 ++--
 compiler/stranal/DmdAnal.hs         |  6 ++--
 compiler/stranal/WorkWrap.hs        |  4 +--
 compiler/types/CompressArgs.hs      | 46 ++++++++++++++++++++++++
 compiler/types/Type.hs              |  7 ++++
 compiler/vectorise/Vectorise/Exp.hs |  6 ++--
 43 files changed, 256 insertions(+), 136 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 e1b85d57311537dfa784abbe62c7b2fff702eb36


More information about the ghc-commits mailing list