[commit: ghc] master: Fix histograms for ticky code (f0f0ac8)

git at git.haskell.org git at git.haskell.org
Wed May 18 20:00:03 UTC 2016


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

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

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

commit f0f0ac859257a0b528815adb61d3f024c8bafa16
Author: Mateusz Lenik <mlen at mlen.pl>
Date:   Tue May 17 08:33:54 2016 +0200

    Fix histograms for ticky code
    
    This patch fixes Cmm generation required to produce histograms when
    compiling with -ticky flag, strips dead code from rts/Ticky.c and
    reworks it to use a shared constant in both C and Haskell code.
    
    Fixes #8308.
    
    Test Plan: T8308
    
    Reviewers: jstolarek, simonpj, austin
    
    Reviewed By: simonpj
    
    Subscribers: mpickering, simonpj, bgamari, mlen, thomie, jstolarek
    
    Differential Revision: https://phabricator.haskell.org/D931
    
    GHC Trac Issues: #8308


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

f0f0ac859257a0b528815adb61d3f024c8bafa16
 compiler/codeGen/StgCmmExpr.hs                     |   1 +
 compiler/codeGen/StgCmmTicky.hs                    |  38 +--
 includes/stg/Ticky.h                               |  11 +-
 rts/RtsSymbols.c                                   |   5 +-
 rts/Ticky.c                                        | 298 ++-------------------
 testsuite/tests/rts/T8308/Makefile                 |  10 +
 testsuite/tests/rts/T8308/T8308.hs                 |   7 +
 .../T5149.stdout => rts/T8308/T8308.stdout}        |   0
 testsuite/tests/rts/T8308/all.T                    |   2 +
 utils/deriveConstants/Main.hs                      |   3 +
 10 files changed, 74 insertions(+), 301 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 f0f0ac859257a0b528815adb61d3f024c8bafa16


More information about the ghc-commits mailing list