summaryrefslogtreecommitdiff
path: root/includes/rts/NonMoving.h
blob: 6a6d96b2c8491f3c0a08e3c206a43f5aed2a5a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 2018-2019
 *
 * Non-moving garbage collector
 *
 * Do not #include this file directly: #include "Rts.h" instead.
 *
 * To understand the structure of the RTS headers, see the wiki:
 *   http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
 *
 * -------------------------------------------------------------------------- */

#pragma once

/* This is called by the code generator */
extern DLL_IMPORT_RTS
void updateRemembSetPushClosure_(StgRegTable *reg, StgClosure *p);

void updateRemembSetPushClosure(Capability *cap, StgClosure *p);

void updateRemembSetPushThunk_(StgRegTable *reg, StgThunk *p);

extern StgWord DLL_IMPORT_DATA_VAR(nonmoving_write_barrier_enabled);