diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-05-23 23:00:32 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-18 10:42:54 -0400 |
commit | cadd775397a88889bb6be6aca34469eea8ba17ec (patch) | |
tree | 6dc512f753e2b800b960e7ca315c31b27c09ec2a /libraries/base/LICENSE | |
parent | 229d741f9907f0a07c475291fe3b1dbfcfea7aab (diff) | |
download | haskell-cadd775397a88889bb6be6aca34469eea8ba17ec.tar.gz |
ghc-heap: Don't Box NULL pointers
Previously we could construct a `Box` of a NULL pointer from the `link`
field of `StgWeak`. Now we take care to avoid ever introducing such
pointers in `collect_pointers` and ensure that the `link` field is
represented as a `Maybe` in the `Closure` type.
Fixes #21622
Diffstat (limited to 'libraries/base/LICENSE')
0 files changed, 0 insertions, 0 deletions