1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-19 19:20:23 +02:00
guile/module/language/assembly
Andy Wingo ccf77d955c 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.
2009-07-24 10:12:01 +02:00
..
compile-bytecode.scm nlocs is now 16 bits wide 2009-07-24 10:12:01 +02:00
decompile-bytecode.scm nlocs is now 16 bits wide 2009-07-24 10:12:01 +02:00
disassemble.scm remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
spec.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00