[commit: ghc] wip/T11731: Demand Analyzer: Do not set OneShot information (40ea4ea)

git at git.haskell.org git at git.haskell.org
Wed Mar 30 16:02:18 UTC 2016


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

On branch  : wip/T11731
Link       : http://ghc.haskell.org/trac/ghc/changeset/40ea4ea1c424bc2889ea8ff32a59767dddd24bac/ghc

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

commit 40ea4ea1c424bc2889ea8ff32a59767dddd24bac
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.


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

40ea4ea1c424bc2889ea8ff32a59767dddd24bac
 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 40ea4ea1c424bc2889ea8ff32a59767dddd24bac


More information about the ghc-commits mailing list