[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/lexspaces 00108a5 15/17: Fix sweep_symbols
From: |
Andrea Corallo |
Subject: |
scratch/lexspaces 00108a5 15/17: Fix sweep_symbols |
Date: |
Fri, 8 May 2020 16:43:09 -0400 (EDT) |
branch: scratch/lexspaces
commit 00108a5afd50cd7424742ff04ade103defa97754
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
Fix sweep_symbols
---
src/alloc.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/alloc.c b/src/alloc.c
index 1ab96a7..07e4dd2 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -7004,10 +7004,8 @@ sweep_symbols (void)
}
sym->u.s.next = symbol_free_list;
symbol_free_list = sym;
- /* FIXME */
- if (!NILP (sym->u.s._function))
- XBINDING (symbol_free_list->u.s._function)->b[CURRENT_LEXSPACE]
- = dead_object ();
+ /* There is one and only binding per symbol! */
+ symbol_free_list->u.s._function = dead_object ();
++this_free;
}
else
- branch scratch/lexspaces created (now e2f183c), Andrea Corallo, 2020/05/08
- scratch/lexspaces 67e28d9 02/17: Adding binding pseudovector, Andrea Corallo, 2020/05/08
- scratch/lexspaces 2d1e916 01/17: Add lexspaces.c, Andrea Corallo, 2020/05/08
- scratch/lexspaces 64e442b 04/17: Add SYMBOL_FUNCTION accessor function, Andrea Corallo, 2020/05/08
- scratch/lexspaces 02d8ef2 05/17: Move symbol value into separate binding, Andrea Corallo, 2020/05/08
- scratch/lexspaces 3a57250 06/17: Add lexspace-make-from, Andrea Corallo, 2020/05/08
- scratch/lexspaces 7fecbf5 08/17: Add lexspace redirection, Andrea Corallo, 2020/05/08
- scratch/lexspaces 09821e3 03/17: Store symbol value into the binding, Andrea Corallo, 2020/05/08
- scratch/lexspaces 04ac507 14/17: Remove unnecessary assertion, Andrea Corallo, 2020/05/08
- scratch/lexspaces 00108a5 15/17: Fix sweep_symbols,
Andrea Corallo <=
- scratch/lexspaces 295ac3d 07/17: Make in-lexspace do something, Andrea Corallo, 2020/05/08
- scratch/lexspaces 610552d 10/17: Add SYMBOL_FUNC_LEXSPACE, Andrea Corallo, 2020/05/08
- scratch/lexspaces 9091913 13/17: Rename lexspace-make-from -> lexspace-make, Andrea Corallo, 2020/05/08
- scratch/lexspaces e2f183c 17/17: Shallow setters by default are not a good idea, Andrea Corallo, 2020/05/08
- scratch/lexspaces 73363e9 09/17: Store lexspace in closures, Andrea Corallo, 2020/05/08
- scratch/lexspaces b46c504 12/17: Add lexspace-import-symbol, Andrea Corallo, 2020/05/08
- scratch/lexspaces c578c72 11/17: Add function lexspace contex mechanism, Andrea Corallo, 2020/05/08
- scratch/lexspaces 0b0098a 16/17: Rename in-lexspace -> lexspace-in, Andrea Corallo, 2020/05/08