[commit: ghc] master: Demand Analyzer: Do not set OneShot information (28fe0ee)

git at git.haskell.org git at git.haskell.org
Thu Mar 31 08:57:58 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/28fe0eea4d161b707f67aae26fddaa2e60d8a901/ghc

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

commit 28fe0eea4d161b707f67aae26fddaa2e60d8a901
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Mar 30 10:05:28 2016 +0200

    Demand Analyzer: Do not set OneShot information
    
    as suggested in ticket:11770#comment:1. This code was buggy (#11770),
    and the occurrence analyzer does the same job anyways.
    
    This also elaborates the notes in the occurrence analyzer accordingly.
    
    Differential Revision: https://phabricator.haskell.org/D2070


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

28fe0eea4d161b707f67aae26fddaa2e60d8a901
 compiler/simplCore/OccurAnal.hs              | 33 ++++++++++++-----
 compiler/stranal/DmdAnal.hs                  | 55 +++-------------------------
 testsuite/tests/stranal/should_compile/all.T |  2 +-
 3 files changed, 30 insertions(+), 60 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 28fe0eea4d161b707f67aae26fddaa2e60d8a901


More information about the ghc-commits mailing list