[commit: ghc] master: Restore old names of comparison primops (53948f9)
git at git.haskell.org
git at git.haskell.org
Wed Sep 18 17:11:33 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/53948f915140396acd1b80c6a7a252b2d1e12635/ghc
>---------------------------------------------------------------
commit 53948f915140396acd1b80c6a7a252b2d1e12635
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Mon Sep 16 15:04:57 2013 +0100
Restore old names of comparison primops
In 6579a6c we removed existing comparison primops and introduced new ones
returning Int# instead of Bool. This commit (and associated commits in
array, base, dph, ghc-prim, integer-gmp, integer-simple, primitive, testsuite and
template-haskell) restores old names of primops. This allows us to keep
our API cleaner at the price of not having backwards compatibility.
This patch also temporalily disables fix for #8317 (optimization of
tagToEnum# at Core level). We need to fix #8326 first, otherwise
our primops code will be very slow.
>---------------------------------------------------------------
53948f915140396acd1b80c6a7a252b2d1e12635
aclocal.m4 | 18 +--
compiler/ghc.cabal.in | 2 +
compiler/ghc.mk | 3 +-
compiler/main/BreakArray.hs | 2 +-
compiler/prelude/PrelNames.lhs | 3 +-
compiler/prelude/primops.txt.pp | 72 ++++-----
compiler/simplCore/Simplify.lhs | 29 ++--
compiler/typecheck/TcGenDeriv.lhs | 91 ++++++------
compiler/utils/Binary.hs | 2 +-
compiler/utils/Encoding.hs | 3 +-
compiler/utils/ExtsCompat46.hs | 292 +++++++++++++++++++++++++++++++++++++
compiler/utils/FastString.lhs | 8 +-
compiler/utils/FastTypes.lhs | 2 +-
libraries/primitive | 2 +-
14 files changed, 410 insertions(+), 119 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 53948f915140396acd1b80c6a7a252b2d1e12635
More information about the ghc-commits
mailing list