diff options
author | Ben Gamari <ben@well-typed.com> | 2022-12-19 23:53:48 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-06 22:09:29 -0500 |
commit | 2459c3587bfe8105c628f9733bf32d1d3c903375 (patch) | |
tree | 8fef1511b04e33cdabadb60bfe7e4db30605a6e0 | |
parent | 0db496ff1e372b19429fee91a4a569f7021fe1d7 (diff) | |
download | haskell-2459c3587bfe8105c628f9733bf32d1d3c903375.tar.gz |
rts: MUT_VAR is not a StgMutArrPtrs
There was previously a comment claiming that the MUT_VAR closure type
had the layout of StgMutArrPtrs.
-rw-r--r-- | rts/include/rts/storage/Closures.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rts/include/rts/storage/Closures.h b/rts/include/rts/storage/Closures.h index 01ae438a43..1af689e5f1 100644 --- a/rts/include/rts/storage/Closures.h +++ b/rts/include/rts/storage/Closures.h @@ -211,8 +211,7 @@ typedef struct { // An array of heap objects, ie Array# v and MutableArray# v // // Closure types: MUT_ARR_PTRS_CLEAN, MUT_ARR_PTRS_DIRTY, -// MUT_ARR_PTRS_FROZEN_DIRTY, MUT_ARR_PTRS_FROZEN_CLEAN, MUT_VAR_CLEAN, -// MUT_VAR_DIRTY +// MUT_ARR_PTRS_FROZEN_DIRTY, MUT_ARR_PTRS_FROZEN_CLEAN typedef struct _StgMutArrPtrs { StgHeader header; StgWord ptrs; |