frame-previous, frame-procedure robustness
authorAndy Wingo <wingo@pobox.com>
Wed, 16 Apr 2014 17:17:38 +0000 (19:17 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Apr 2014 17:17:38 +0000 (19:17 +0200)
commitdeb2df53233e44a097741a824330a8e5a82d8053
tree7ccf2cc2fd62ce8691c52dd29d592cc308c2ed1b
parent4cfa92d60f0f2e8d7443617288e1a6530ab059ce
frame-previous, frame-procedure robustness

* libguile/frames.c (scm_c_frame_closure): Don't use SCM_FRAME_PROGRAM,
  as we don't know if the frame actually has any locals.
  (scm_c_frame_previous): More robustly detect end-of-stack.  Allows
  scm_c_frame_previous to work on partial continuations.
libguile/frames.c