summaryrefslogtreecommitdiff
path: root/libguile/vm-i-system.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-07-24 10:12:01 +0200
committerAndy Wingo <wingo@pobox.com>2009-07-24 10:12:01 +0200
commitccf77d955c875ce95473098af96da9e1bec0b7eb (patch)
tree5099763a4862add99f8fecb4c999689bb2c29bc3 /libguile/vm-i-system.c
parent476e35728136b2d504855f3e2e4922ed72a41101 (diff)
downloadguile-ccf77d955c875ce95473098af96da9e1bec0b7eb.tar.gz
nlocs is now 16 bits wide
* libguile/objcodes.h (struct scm_objcode): Remove the "unused" field -- the old "nexts" -- and expand nlocs to 16 bits. * module/language/assembly/compile-bytecode.scm (write-bytecode): Write the nlocs as a uint16. * module/language/assembly/decompile-bytecode.scm (decode-load-program): Decompile 16-bit nlocs. It seems this decompilation is little-endian :-/ * test-suite/tests/asm-to-bytecode.test: Fix up to understand nlocs as a little-endian value. The test does the right thing regarding endianness.
Diffstat (limited to 'libguile/vm-i-system.c')
0 files changed, 0 insertions, 0 deletions