diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-06-30 15:06:25 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-07-15 18:16:28 -0400 |
commit | d75c540d439510491b45f64c1113762dcb251ae1 (patch) | |
tree | 6fb957684ff84c94055ea246678679003aeec1a3 /compiler/Language/Haskell | |
parent | 3d5f9ba19fea5455d778d2ee9c3fdcaad77d1db7 (diff) | |
download | haskell-wip/T21708.tar.gz |
Make keepAlive# out-of-linewip/T21708
This is a naive approach to fixing the unsoundness noticed in #21708.
Specifically, we remove the lowering of `keepAlive#` via CorePrep and
instead turn it into an out-of-line primop.
This is simple, inefficient (since the continuation must now be heap
allocated), but good enough for 9.4.1. We will revisit this
(particiularly via #16098) in a future release.
Metric Increase:
T4978
T7257
T9203
Diffstat (limited to 'compiler/Language/Haskell')
0 files changed, 0 insertions, 0 deletions