[commit: ghc] wip/impredicativity: Fix bugs in expression optimization (06cfdcb)

git at git.haskell.org git at git.haskell.org
Fri Jul 3 10:11:16 UTC 2015


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

On branch  : wip/impredicativity
Link       : http://ghc.haskell.org/trac/ghc/changeset/06cfdcb05ac03a090868b677192373ba6302943d/ghc

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

commit 06cfdcb05ac03a090868b677192373ba6302943d
Author: Alejandro Serrano <trupill at gmail.com>
Date:   Fri Jul 3 12:10:18 2015 +0200

    Fix bugs in expression optimization
    
    We need to aggresively inline instatiation functions so that the
    simplifier has a better chance of working. In order to ensure that
    instantiation functions are inlined, a new field has been added
    to IdInfo.


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

06cfdcb05ac03a090868b677192373ba6302943d
 compiler/basicTypes/Id.hs         | 11 ++++++-
 compiler/basicTypes/IdInfo.hs     | 13 ++++++--
 compiler/coreSyn/CoreSubst.hs     | 11 ++++++-
 compiler/deSugar/DsBinds.hs       | 66 +++++++++++++++++++++------------------
 compiler/specialise/Specialise.hs |  1 +
 compiler/typecheck/TcHsSyn.hs     |  6 +++-
 6 files changed, 72 insertions(+), 36 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 06cfdcb05ac03a090868b677192373ba6302943d


More information about the ghc-commits mailing list