diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-21 23:21:01 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 12:13:36 -0400 |
commit | 06d51c4ef776ee1bf66e3603b4c6e4e2acf8ba3c (patch) | |
tree | dec20251f027a9aba915f706c077c20c6fe5b062 /includes/stg/MiscClosures.h | |
parent | 17e5a032a66bc043b453727706d4fa95a7951202 (diff) | |
download | haskell-06d51c4ef776ee1bf66e3603b4c6e4e2acf8ba3c.tar.gz |
Fix unregisterised buildwip/gc/nonmoving-concurrent
This required some fiddling around with the location of forward
declarations since the C sources generated by GHC's C backend only
includes Stg.h.
Diffstat (limited to 'includes/stg/MiscClosures.h')
-rw-r--r-- | includes/stg/MiscClosures.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index f4ae2245d2..7a2ac2ef51 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -542,6 +542,12 @@ void * pushCostCentre (void *ccs, void *cc); // Capability.c extern unsigned int n_capabilities; -extern void updateRemembSetPushThunk_(void *reg, void *p1); + +/* ----------------------------------------------------------------------------- + Nonmoving GC write barrier + -------------------------------------------------------------------------- */ + +#include <rts/NonMoving.h> + #endif |