[commit: ghc] wip/sgraf-no-exnstr: Remove ExnStr and ThrowsExn business (e39688e)

git at git.haskell.org git at git.haskell.org
Fri Feb 1 05:55:19 UTC 2019


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

On branch  : wip/sgraf-no-exnstr
Link       : http://ghc.haskell.org/trac/ghc/changeset/e39688e94b38a2ce5258e5e26533338d21dfc82d/ghc

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

commit e39688e94b38a2ce5258e5e26533338d21dfc82d
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date:   Thu Jan 31 14:46:42 2019 +0100

    Remove ExnStr and ThrowsExn business
    
    In #14998, Item 1, we noticed that we could get rid of the last usage
    of `catchArgDmd` and did so in commit 00b8ecb.
    
    Since then, `catchArgDmd` has been dangling around in Demand.hs. This
    commit finally removes it and the resulting dead code involving `ExnStr`
    and `ThrowsExn`, which was the original concern of Item 1.


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

e39688e94b38a2ce5258e5e26533338d21dfc82d
 compiler/basicTypes/Demand.hs   | 278 ++++++++++------------------------------
 compiler/coreSyn/CoreArity.hs   |   4 +-
 compiler/coreSyn/MkCore.hs      |   5 +-
 compiler/prelude/primops.txt.pp |  15 +--
 compiler/simplCore/Simplify.hs  |   4 +-
 compiler/stranal/WwLib.hs       |   2 +-
 6 files changed, 77 insertions(+), 231 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 e39688e94b38a2ce5258e5e26533338d21dfc82d


More information about the ghc-commits mailing list