[commit: ghc] master: Unify CallStack handling in ghc (626db8f)
git at git.haskell.org
git at git.haskell.org
Thu Sep 15 14:38:27 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/626db8f82e734e48eef5ce7676a5233f98fe7145/ghc
>---------------------------------------------------------------
commit 626db8f82e734e48eef5ce7676a5233f98fe7145
Author: Ben Gamari <ben at smart-cactus.org>
Date: Mon Sep 12 14:54:30 2016 -0400
Unify CallStack handling in ghc
Here we introduce compatibility wrappers for HasCallStack constraints.
This is necessary as we must support GHC 7.10.1 which lacks sane call
stack support. We also introduce another constraint synonym,
HasDebugCallStack, which only provides a call stack when DEBUG is set.
>---------------------------------------------------------------
626db8f82e734e48eef5ce7676a5233f98fe7145
compiler/simplStg/RepType.hs | 7 +++--
compiler/typecheck/TcDeriv.hs | 17 ++---------
compiler/types/TyCoRep.hs | 65 ++++++-------------------------------------
compiler/utils/Maybes.hs | 8 ++----
compiler/utils/Outputable.hs | 35 +++++++----------------
compiler/utils/Util.hs | 46 +++++++++++++++++++++++++++++-
6 files changed, 72 insertions(+), 106 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 626db8f82e734e48eef5ce7676a5233f98fe7145
More information about the ghc-commits
mailing list