[commit: ghc] wip/T11770: Demand Analyzer: Do not set OneShot information (7a8dae3)
git at git.haskell.org
git at git.haskell.org
Wed Mar 30 10:36:03 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T11770
Link : http://ghc.haskell.org/trac/ghc/changeset/7a8dae3b6ac0d5b4a5581072561ae4b02315b5d6/ghc
>---------------------------------------------------------------
commit 7a8dae3b6ac0d5b4a5581072561ae4b02315b5d6
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.
>---------------------------------------------------------------
7a8dae3b6ac0d5b4a5581072561ae4b02315b5d6
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 7a8dae3b6ac0d5b4a5581072561ae4b02315b5d6
More information about the ghc-commits
mailing list