diff options
author | Andy Wingo <wingo@pobox.com> | 2015-11-27 15:38:30 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-12-01 11:30:54 +0100 |
commit | 3582787cb032da4d3a722bfb00882e6d992b0c87 (patch) | |
tree | 379d5e29972d1e7ca6d088dc606a430dcb884928 /libguile/frames.c | |
parent | adb23298637edb2365fd78e98020f9aeb457b6ec (diff) | |
download | guile-3582787cb032da4d3a722bfb00882e6d992b0c87.tar.gz |
VM traps don't match on value of slot 0
* module/system/vm/traps.scm (frame-matcher): Always match on a
procedure's code, instead of the value in slot 0. Prevents confusion
with closure-optimized procedures, re-use of slot 0, and untagged
values in slot 0.
(trap-at-procedure-call, trap-in-procedure)
(trap-instructions-in-procedure, trap-at-procedure-ip-in-range)
(trap-at-source-location, trap-in-dynamic-extent)
(trap-calls-in-dynamic-extent, trap-instructions-in-dynamic-extent):
Update to adapt to frame-matcher change and remove #:closure?
argument, effectively changing the default behavior to #:closure? #t.
* doc/ref/api-debug.texi (Low-Level Traps): Update documentation.
Diffstat (limited to 'libguile/frames.c')
0 files changed, 0 insertions, 0 deletions