aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 83007657e20..eba9d867c8c 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4774,6 +4774,9 @@ gc_sweep ()
4774 4774
4775 for (; sym < end; ++sym) 4775 for (; sym < end; ++sym)
4776 { 4776 {
4777 /* Check if the symbol was created during loadup. In such a case
4778 it might be pointed to by pure bytecode which we don't trace,
4779 so we conservatively assume that it is live. */
4777 int pure_p = PURE_POINTER_P (sym->name); 4780 int pure_p = PURE_POINTER_P (sym->name);
4778 4781
4779 if (!XMARKBIT (sym->plist) && !pure_p) 4782 if (!XMARKBIT (sym->plist) && !pure_p)