diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2021-11-26 16:02:02 +0000 |
---|---|---|
committer | Simon Peyton Jones <simon.peytonjones@gmail.com> | 2022-01-04 15:13:00 +0000 |
commit | 3e1991841a4c6c59fa8a8f43eb7d8f26991338b1 (patch) | |
tree | ad706ad22ce02fd296183bb81c642ab7dfa6819b /utils/genprimopcode/ghc.mk | |
parent | e571007a68414471486945bc10064dcd9535a199 (diff) | |
download | haskell-3e1991841a4c6c59fa8a8f43eb7d8f26991338b1.tar.gz |
Improve boxity in deferAfterPreciseExceptionwip/T18993a
As #20746 showed, the demand analyser behaved badly in a key I/O
library (`GHC.IO.Handle.Text`), by unnessarily boxing and reboxing.
This patch adjusts the subtle function deferAfterPreciseException;
it's quite easy, just a bit subtle.
See the new Note [deferAfterPreciseException]
And this MR deals only with Problem 2 in #20746.
Problem 1 is still open.
Diffstat (limited to 'utils/genprimopcode/ghc.mk')
0 files changed, 0 insertions, 0 deletions