[commit: ghc] master: Defer inlining of Ord methods (c0e3e63)
git at git.haskell.org
git at git.haskell.org
Wed Mar 30 19:20:30 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c0e3e63eca6b0f7a21ae51d992c88821195ad94d/ghc
>---------------------------------------------------------------
commit c0e3e63eca6b0f7a21ae51d992c88821195ad94d
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.
>---------------------------------------------------------------
c0e3e63eca6b0f7a21ae51d992c88821195ad94d
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 c0e3e63eca6b0f7a21ae51d992c88821195ad94d
More information about the ghc-commits
mailing list