1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00
guile/module
Andy Wingo 7656f19446 rework vm tracing
* libguile/vm-engine.c (VM_NAME): Engines take the VM itself (not the
  vp), so they can pass the VM to hooks. No more hook args, we dispatch
  without them.

* libguile/vm-engine.h (RUN_HOOK): Dispatch the hook if the trace level
  is positive (instead of if the hook is there). Don't cache registers
  on return from the dispatch.

* libguile/vm.h:
* libguile/vm.c (vm_dispatch_hook): Don't bother with a dynwind; instead
  decrement the trace level when going into a hook, and if we have a
  nonlocal exit, the trace level never gets incremented again. Worse is
  better.
  (make_vm, scm_vm_trace_level, scm_set_vm_trace_level_x): New concept,
  trace level. If positive, we run the hooks, otherwise we don't. Should
  work. Removed scm_vm_trace_frame, I don't think that was the right way
  to do it.

* module/system/vm/vm.scm: Replace vm-trace-frame with vm-trace-level
  and set-vm-trace-level!; the hooks actually get the frame as an
  argument now.
2009-12-21 21:57:20 +01:00
..
ice-9 psyntax's labels and marks now unique over a read/write boundary 2009-12-20 15:30:32 +01:00
language Change the Elisp compiler from GPLv2+ to LGPLv3+. 2009-12-15 19:10:48 +01:00
oop eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
rnrs Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
scripts Remove unused variables in ice-9/goops/srfi/scripts. 2009-09-21 00:24:08 +02:00
srfi SRFI-1: Use the built-in optional argument support. 2009-12-11 15:20:12 +01:00
sxml import statprof, sxml, and texinfo from guile-lib 2009-12-21 00:01:13 +01:00
system rework vm tracing 2009-12-21 21:57:20 +01:00
texinfo integrate guile-lib docs 2009-12-21 00:01:49 +01:00
Makefile.am import statprof, sxml, and texinfo from guile-lib 2009-12-21 00:01:13 +01:00
statprof.scm tweaks to statprof 2009-12-21 00:01:49 +01:00
texinfo.scm texinfo fixes 2009-12-21 00:01:49 +01:00