summaryrefslogtreecommitdiff
path: root/libguile/frames.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-01-30 17:47:03 +0100
committerAndy Wingo <wingo@pobox.com>2016-01-31 10:45:02 +0100
commit67e8aa85e81af1644eb75893c173a697ae3d687f (patch)
treeec12aed7ce787d976cd09b245fba58d664734322 /libguile/frames.h
parentffc9bc9149d7c99940e1fe4537d3235846802380 (diff)
downloadguile-67e8aa85e81af1644eb75893c173a697ae3d687f.tar.gz
Remove frame-local-ref, frame-local-set!
* libguile/frames.h (scm_frame_num_locals, scm_frame_local_ref) (scm_frame_local_set_x): Remove. As long as we are changing the interface in a backward-incompatible way, we might as well remove these. * libguile/frames.c (scm_frame_num_locals, scm_frame_local_ref) (scm_frame_local_set_x, scm_init_frames_builtins, scm_init_frames): Arrange to make frame-local-ref et al private to frames.scm. * module/system/vm/frame.scm: Load scm_init_frames_builtins extensions. (frame-instruction-pointer-or-primitive-procedure-name): New public function. (frame-binding-ref, frame-binding-set!): Allow binding objects as vars. * module/system/repl/debug.scm (print-locals): Pass binding directly to frame-binding-ref. * module/statprof.scm (sample-stack-procs, count-call): Use new frame-instruction-pointer-or-primitive-procedure-name function.
Diffstat (limited to 'libguile/frames.h')
-rw-r--r--libguile/frames.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libguile/frames.h b/libguile/frames.h
index 5aa5499ba..ef668a9ce 100644
--- a/libguile/frames.h
+++ b/libguile/frames.h
@@ -162,10 +162,6 @@ SCM_API SCM scm_frame_procedure_name (SCM frame);
SCM_API SCM scm_frame_call_representation (SCM frame);
SCM_API SCM scm_frame_arguments (SCM frame);
SCM_API SCM scm_frame_source (SCM frame);
-SCM_API SCM scm_frame_num_locals (SCM frame);
-SCM_API SCM scm_frame_local_ref (SCM frame, SCM index, SCM representation);
-SCM_API SCM scm_frame_local_set_x (SCM frame, SCM index, SCM val,
- SCM representation);
SCM_API SCM scm_frame_address (SCM frame);
SCM_API SCM scm_frame_stack_pointer (SCM frame);
SCM_API SCM scm_frame_instruction_pointer (SCM frame);