summaryrefslogtreecommitdiff
path: root/rts/sm/Storage.c
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2021-12-19 12:55:56 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-02 19:26:06 -0500
commit05548a2209f71b407028d42e1aad566697263199 (patch)
tree8b2220cc2134b9d711692a34d00b59fba54bae49 /rts/sm/Storage.c
parent88fba8a4b3c22e953a634b81dd0b67ec66eb5e72 (diff)
downloadhaskell-05548a2209f71b407028d42e1aad566697263199.tar.gz
rts: Address failures to inline
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r--rts/sm/Storage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index c592595737..1e801b8dfc 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -109,6 +109,7 @@ Mutex sm_mutex;
static void allocNurseries (uint32_t from, uint32_t to);
static void assignNurseriesToCapabilities (uint32_t from, uint32_t to);
+static StgInd * lockCAF (StgRegTable *reg, StgIndStatic *caf);
void
initGeneration (generation *gen, int g)
@@ -510,7 +511,7 @@ void listAllBlocks (ListBlocksCb cb, void *user)
-------------------------------------------------------------------------- */
-STATIC_INLINE StgInd *
+static StgInd *
lockCAF (StgRegTable *reg, StgIndStatic *caf)
{
const StgInfoTable *orig_info;