1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 02:00:26 +02:00
guile/module/system/vm
Andy Wingo 7396d21670 RTL: Local 0 is the procedure
* libguile/vm-engine.c: Change the RTL VM to number the procedure as
  local 0, and other locals from 1.  In the future we will want the FP
  to point to local 0 instead of local 1.  In the future also we can
  elide the procedure for well-known closures (closures in which all
  references are known call sites).
  (make_closure, free_set): Instead of taking rest arguments, we add a
  new free-set! op that initializes closures.
  (free_ref): Take the closure as an argument.

* libguile/vm.c (rtl_boot_continuation_code): Remove comments, which
  were out of date.
  (rtl_apply_code, rtl_values_code): Update comments.

* module/system/vm/assembler.scm (intern-constant, emit-init-constants):
  Adapt to locals numbering change.
  (begin-kw-arity): For assert-nargs-ee purposes, nreq includes the
  procedure.

* module/system/vm/disassembler.scm (code-annotation): Adapt annotation
  for assert-nargs-ee/locals.

* test-suite/tests/rtl.test: Adapt tests.
2013-07-21 17:12:22 +02:00
..
assembler.scm RTL: Local 0 is the procedure 2013-07-21 17:12:22 +02:00
coverage.scm add source:line-for-user, returning a 1-indexed line number 2010-10-01 18:15:23 +02:00
debug.scm fix rtl program arity functions 2013-07-21 17:12:21 +02:00
disassembler.scm RTL: Local 0 is the procedure 2013-07-21 17:12:22 +02:00
elf.scm Add runtime support for reading debug information from ELF 2013-06-09 19:50:30 +02:00
frame.scm pop-continuation abort-continuation hooks pass return vals directly 2013-05-27 07:13:13 +02:00
inspect.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
instruction.scm add new rtl vm 2013-05-31 09:48:16 -04:00
linker.scm linker string tables are stateful objects 2013-06-09 16:04:12 +02:00
objcode.scm add (find-mapped-elf-image) procedure to (system vm objcode) module 2013-05-23 14:21:06 +02:00
program.scm procedure-properties for RTL functions 2013-06-09 23:59:19 +02:00
trace.scm pop-continuation abort-continuation hooks pass return vals directly 2013-05-27 07:13:13 +02:00
trap-state.scm stepping traps use frame-next-source, not frame-source 2010-10-08 12:31:56 +02:00
traps.scm pop-continuation abort-continuation hooks pass return vals directly 2013-05-27 07:13:13 +02:00
vm.scm add call-with-vm; remove thread-vm bits; remove vm-apply; engines settable. 2010-09-27 21:12:29 +02:00