mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-08 13:10:19 +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. |
||
---|---|---|
.. | ||
types | ||
ck.scm | ||
compile.scm | ||
lalr.scm | ||
lalr.upstream.scm | ||
language.scm | ||
message.scm | ||
optimize.scm | ||
pmatch.scm | ||
syntax.scm | ||
target.scm | ||
types.scm |