1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 20:20:20 +02:00
guile/module
Andy Wingo 51bc69dd1c Fix bytevector mutators to correctly check for mutability
Previously, bytevectors that were serialized into binaries were actually
mutable by compiled bytevector-u8-set! et al.

* libguile/bytevectors.h (SCM_F_BYTEVECTOR_IMMUTABLE): Renumber to 0x80,
as for immutable vectors.
(SCM_BYTEVECTOR_CONTIGUOUS_P): Just use SCM_CELL_TYPE.
(SCM_BYTEVECTOR_FLAGS): Remove unused accessor.
* module/language/tree-il/compile-cps.scm (bytevector-set-converter):
Emit mutable-bytevector? instead of bytevector?.
* module/system/vm/assembler.scm (link-data): Update immutable flag.
* module/language/cps/compile-bytecode.scm:
* module/language/cps/effects-analysis.scm:
* module/language/cps/type-fold.scm:
* module/language/cps/types.scm:
* module/system/base/types/internal.scm: Update for immutable-bytevector
predicates.
2025-05-30 16:48:26 +02:00
..
ice-9 primitive-load after boot uses read-syntax 2025-05-15 22:36:41 +02:00
language Fix bytevector mutators to correctly check for mutability 2025-05-30 16:48:26 +02:00
oop Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Deprecate object-properties in the main environment 2025-05-12 13:45:21 +02:00
srfi Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
sxml Fix typos in comments. 2025-02-28 09:58:29 +01:00
system Fix bytevector mutators to correctly check for mutability 2025-05-30 16:48:26 +02:00
texinfo Fix typo in transform-string docstring 2025-03-20 13:36:58 -05:00
web Move make-object-property out to a module 2025-05-12 13:45:07 +02:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Remove all deprecated code from Scheme files 2025-05-05 12:33:37 +02:00
statprof.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00