diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-22 11:23:31 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-09 21:46:38 -0400 |
commit | 951c1fb03d80094c8b0d9bcc463d86fa71695b3a (patch) | |
tree | 28a03e1ad9256c5038a0351c806910e9b7ef5aef /rts/Prelude.h | |
parent | ea86360f21e8c9812acba8dc1bc2a54fef700ece (diff) | |
download | haskell-951c1fb03d80094c8b0d9bcc463d86fa71695b3a.tar.gz |
Fix unboxed-sums GC ptr-slot rubbish value (#17791)
This patch allows boot libraries to use unboxed sums without implicitly
depending on `base` package because of `absentSumFieldError`.
See updated Note [aBSENT_SUM_FIELD_ERROR_ID] in GHC.Core.Make
Diffstat (limited to 'rts/Prelude.h')
-rw-r--r-- | rts/Prelude.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/Prelude.h b/rts/Prelude.h index 7bcb6292fa..c6971677af 100644 --- a/rts/Prelude.h +++ b/rts/Prelude.h @@ -45,7 +45,6 @@ PRELUDE_CLOSURE(base_GHCziIOziException_cannotCompactPinned_closure); PRELUDE_CLOSURE(base_GHCziIOziException_cannotCompactMutable_closure); PRELUDE_CLOSURE(base_ControlziExceptionziBase_nonTermination_closure); PRELUDE_CLOSURE(base_ControlziExceptionziBase_nestedAtomically_closure); -PRELUDE_CLOSURE(base_ControlziExceptionziBase_absentSumFieldError_closure); PRELUDE_CLOSURE(base_GHCziEventziThread_blockedOnBadFD_closure); PRELUDE_CLOSURE(base_GHCziExceptionziType_divZZeroException_closure); PRELUDE_CLOSURE(base_GHCziExceptionziType_underflowException_closure); @@ -103,7 +102,6 @@ PRELUDE_INFO(base_GHCziStable_StablePtr_con_info); #define nonTermination_closure DLL_IMPORT_DATA_REF(base_ControlziExceptionziBase_nonTermination_closure) #define nestedAtomically_closure DLL_IMPORT_DATA_REF(base_ControlziExceptionziBase_nestedAtomically_closure) #define blockedOnBadFD_closure DLL_IMPORT_DATA_REF(base_GHCziEventziThread_blockedOnBadFD_closure) -#define absentSumFieldError_closure DLL_IMPORT_DATA_REF(base_ControlziExceptionziBase_absentSumFieldError_closure) #define Czh_con_info DLL_IMPORT_DATA_REF(ghczmprim_GHCziTypes_Czh_con_info) #define Izh_con_info DLL_IMPORT_DATA_REF(ghczmprim_GHCziTypes_Izh_con_info) |