diff options
author | Andy Wingo <wingo@pobox.com> | 2016-01-31 11:15:58 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-01-31 11:15:58 +0100 |
commit | cd0b61a04e5fa7db62c8795d3bdbee1bc831199a (patch) | |
tree | 00723334455166fce5105650d001e5cb1058ae0c /doc/ref/scheme-using.texi | |
parent | 67e8aa85e81af1644eb75893c173a697ae3d687f (diff) | |
download | guile-cd0b61a04e5fa7db62c8795d3bdbee1bc831199a.tar.gz |
Frame <binding> objects capture frame, can ref value directly
* module/system/repl/debug.scm (print-locals): Adapt to
frame-binding-ref change.
* module/system/vm/frame.scm (<binding>): Add `frame' field.
(available-bindings): Capture the frame.
(binding-ref, binding-set!): New functions, accessing a local variable
value directly from a frame.
(frame-binding-ref, frame-binding-set!): Remove. As these are very
low-level debugging interfaces introduced in 2.0, never documented,
and quite tied to the VM, we feel comfortable making this change.
(frame-call-representation): Adapt to available-bindings change.
(frame-environment, frame-object-binding): Adapt to binding-ref
interface change.
* doc/ref/vm.texi (Stack Layout): Mention that slots can be re-used.
Update disassembly in example.
* doc/ref/api-debug.texi (Frames): Remove documentation for
frame-local-ref, frame-local-set!, and frame-num-locals. Replace with
documentation for frame-bindings, binding accessors, and binding-ref /
binding-set!.
Diffstat (limited to 'doc/ref/scheme-using.texi')
0 files changed, 0 insertions, 0 deletions