[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/comp-static-data ec88bbd1bf 7/9: Correctly build builtin syms st
From: |
Vibhav Pant |
Subject: |
scratch/comp-static-data ec88bbd1bf 7/9: Correctly build builtin syms string while hashing abi. |
Date: |
Tue, 20 Dec 2022 11:29:41 -0500 (EST) |
branch: scratch/comp-static-data
commit ec88bbd1bfaedf5f6adbe968dddde178c54a2b43
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>
Correctly build builtin syms string while hashing abi.
* src/comp.c (hash_native_abi) [HAVE_STATIC_LISP_GLOBALS]: Avoid a
spurious ' ' at the end of builtin_syms while concatenating builtin
symbols.
---
src/comp.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/comp.c b/src/comp.c
index d20fca4336..2f90d6c54b 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1051,10 +1051,13 @@ hash_native_abi (void)
Lisp_Object builtin_syms = Qnil;
AUTO_STRING (sep, " ");
- for (ptrdiff_t i = 0; i < ARRAYELTS (lispsym); i++)
+ for (ptrdiff_t i = 0; i < ARRAYELTS (lispsym) - 1; i++)
builtin_syms
= concat3 (builtin_syms, SYMBOL_NAME (builtin_lisp_symbol (i)),
- sep);
+ sep);
+ builtin_syms
+ = concat2 (builtin_syms, SYMBOL_NAME (builtin_lisp_symbol (
+ ARRAYELTS (lispsym) - 1)));
#endif
Vcomp_abi_hash = comp_hash_string (
- scratch/comp-static-data updated (f61a9ee8e4 -> e7459fcbde), Vibhav Pant, 2022/12/20
- scratch/comp-static-data 4385d8e590 4/9: comp: Use the correct integer types and values for storing mark bits, Vibhav Pant, 2022/12/20
- scratch/comp-static-data 0f3bcbba83 1/9: src/alloc.c: Don't mark a symbol's name if it's already marked., Vibhav Pant, 2022/12/20
- scratch/comp-static-data 89892db0af 8/9: src/comp.h: Check for GC_CHECK_MARKED_OBJECTS correctly., Vibhav Pant, 2022/12/20
- scratch/comp-static-data a6f3188ba1 6/9: Separate marking native comp units into their own function., Vibhav Pant, 2022/12/20
- scratch/comp-static-data bcc739d73d 5/9: Statically emit self evaluating bytecode vectors during native comp., Vibhav Pant, 2022/12/20
- scratch/comp-static-data 0f63d334b9 3/9: Improve how static Lisp strings are generated., Vibhav Pant, 2022/12/20
- scratch/comp-static-data ec88bbd1bf 7/9: Correctly build builtin syms string while hashing abi.,
Vibhav Pant <=
- scratch/comp-static-data 722b58bf9d 2/9: Add static_comp_object_p for working with statically emmited objects, Vibhav Pant, 2022/12/20
- scratch/comp-static-data e7459fcbde 9/9: Merge branch 'master' into scratch/comp-static-data, Vibhav Pant, 2022/12/20