diff options
author | Mateusz Lenik <mlen@mlen.pl> | 2016-05-17 08:33:54 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-18 20:14:31 +0200 |
commit | f0f0ac859257a0b528815adb61d3f024c8bafa16 (patch) | |
tree | f418e1de12d7046d7f9d6ce815a8cb8865786b40 /rts/RtsSymbols.c | |
parent | fffe3a25adab41d44943ed1be0191cf570d3e154 (diff) | |
download | haskell-f0f0ac859257a0b528815adb61d3f024c8bafa16.tar.gz |
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
Diffstat (limited to 'rts/RtsSymbols.c')
-rw-r--r-- | rts/RtsSymbols.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 3e82cdffa1..11bc0e6880 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -329,7 +329,10 @@ SymI_HasProto(RET_NEW_ctr) \ SymI_HasProto(RET_OLD_ctr) \ SymI_HasProto(RET_UNBOXED_TUP_ctr) \ - SymI_HasProto(RET_SEMI_loads_avoided) + SymI_HasProto(RET_SEMI_loads_avoided) \ + SymI_HasProto(RET_NEW_hst) \ + SymI_HasProto(RET_OLD_hst) \ + SymI_HasProto(RET_UNBOXED_TUP_hst) // On most platforms, the garbage collector rewrites references |