1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-26 05:00:28 +02:00
guile/module/language
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
..
assembly nlocs is now 16 bits wide 2009-07-24 10:12:01 +02:00
brainfuck remove lambda wrap hack of brainfuck tree-il compiler 2009-06-24 13:43:20 +02:00
bytecode Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ecmascript Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
elisp Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ghil Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
glil remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
objcode remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
r5rs Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
scheme Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
value Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
assembly.scm remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
ghil.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
glil.scm remove all mentions of "external" from the compiler and related code 2009-07-23 17:15:17 +02:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm add brainfuck->tree-il compiler 2009-06-21 15:06:04 +02:00