mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-08 05:00:17 +02:00
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. |
||
---|---|---|
.. | ||
brainfuck | ||
bytecode | ||
cps | ||
ecmascript | ||
elisp | ||
scheme | ||
tree-il | ||
value | ||
wisp | ||
bytecode.scm | ||
cps.scm | ||
tree-il.scm | ||
wisp.scm |