[commit: ghc] ghc-8.0: Defer inlining of Ord methods (007bb34)

git at git.haskell.org git at git.haskell.org
Wed Mar 30 19:49:41 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/007bb3477302a6e0146ece9ce15993afb20a00c2/ghc

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

commit 007bb3477302a6e0146ece9ce15993afb20a00c2
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Mar 30 10:46:39 2016 +0200

    Defer inlining of Ord methods
    
    This performs the same refactoring performed in D1980 for Eq on Ord,
    rewriting the class operations in terms of monomorphic helpers than can
    be reliably matched in rewrite rules.
    
    (cherry picked from commit c0e3e63eca6b0f7a21ae51d992c88821195ad94d)


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

007bb3477302a6e0146ece9ce15993afb20a00c2
 libraries/base/GHC/Int.hs         | 100 +++++++++++++++++++++++++++++++++-----
 libraries/base/GHC/Word.hs        | 100 +++++++++++++++++++++++++++++++++-----
 libraries/ghc-prim/GHC/Classes.hs |  38 +++++++++++++--
 3 files changed, 207 insertions(+), 31 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 007bb3477302a6e0146ece9ce15993afb20a00c2


More information about the ghc-commits mailing list