diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2021-07-27 09:11:56 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-28 13:19:06 -0400 |
commit | 2567d13b923946a49ae15c51933a2cc348826c9a (patch) | |
tree | b03881fda5c05b54000ed0a67d51fc3cae89e6c9 /hie.yaml | |
parent | 05f54bb4f2fd0d8d4e0029ed795bfe1a534ce304 (diff) | |
download | haskell-2567d13b923946a49ae15c51933a2cc348826c9a.tar.gz |
Inline less logging code
When eyeballing calls of GHC.Core.Opt.Simplify.Monad.traceSmpl,
I saw that lots of cold-path logging code was getting inlined
into the main Simplifier module.
So in GHC.Utils.Logger I added a NOINLINE on logDumpFile'.
For logging, the "hot" path, up to and including the conditional,
should be inlined, but after that we should inline as little as
possible, to reduce code size in the caller.
Diffstat (limited to 'hie.yaml')
0 files changed, 0 insertions, 0 deletions