diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-02-05 11:11:56 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-02-10 00:40:01 +0100 |
commit | bde92e6b3bbd15c7abaf29bc0557041b88df8d74 (patch) | |
tree | 3e40524196deb02ba38460cc32be04bc1cb4a710 /lib/strings.in.h | |
parent | 0c368d2b2811fb856c9551e7ad217f8e5636024f (diff) | |
download | guile-bde92e6b3bbd15c7abaf29bc0557041b88df8d74.tar.gz |
Change `write-bytecode' to accept a bytevector.
* module/language/assembly/compile-bytecode.scm (write-bytecode):
Replace the WRITE-BYTE and GET-ADDR parameters with PORT. New ADDRESS
and EMIT-OPCODE? parameters. Callers updated.
[write-byte, get-addr]: New procedures.
Adjust to write to PORT.
(compile-bytecode): Update accordingly.
* test-suite/tests/asm-to-bytecode.test (munge-bytecode): Return a
bytevector instead of a u8vector.
(comp-test): Deal with bytevectors.
Diffstat (limited to 'lib/strings.in.h')
0 files changed, 0 insertions, 0 deletions