Skip to content
  • mlen's avatar
    Fix histograms for ticky code · f0f0ac85
    mlen authored and Ben Gamari's avatar Ben Gamari committed
    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
    f0f0ac85