[Git][ghc/ghc][wip/rts-warnings] hihi
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Sun Mar 26 03:39:06 UTC 2023
Ben Gamari pushed to branch wip/rts-warnings at Glasgow Haskell Compiler / GHC
Commits:
b9e7a8e0 by Ben Gamari at 2023-03-25T23:39:01-04:00
hihi
- - - - -
1 changed file:
- rts/sm/NonMovingMark.c
Changes:
=====================================
rts/sm/NonMovingMark.c
=====================================
@@ -39,9 +39,7 @@ static void trace_PAP_payload (MarkQueue *queue,
StgClosure *fun,
StgClosure **payload,
StgWord size);
-#if defined(DEBUG)
static bool is_nonmoving_weak(StgWeak *weak);
-#endif
// How many Array# entries to add to the mark queue at once?
#define MARK_ARRAY_CHUNK_LENGTH 128
@@ -1968,7 +1966,6 @@ void nonmovingMarkWeakPtrList (struct MarkQueue_ *queue)
// Determine whether a weak pointer object is on one of the nonmoving
// collector's weak pointer lists. Used for sanity checking.
-#if defined(DEBUG)
static bool is_nonmoving_weak(StgWeak *weak)
{
for (StgWeak *w = nonmoving_old_weak_ptr_list; w != NULL; w = w->link) {
@@ -1979,7 +1976,6 @@ static bool is_nonmoving_weak(StgWeak *weak)
}
return false;
}
-#endif
// Non-moving heap variant of `tidyWeakList`
bool nonmovingTidyWeaks (struct MarkQueue_ *queue)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b9e7a8e0a248ab433633b9751fcbaef9ce51c159
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b9e7a8e0a248ab433633b9751fcbaef9ce51c159
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230325/a3e2fdc7/attachment-0001.html>
More information about the ghc-commits
mailing list