fix frame dynamic linkage in the face of partial continuation application
authorAndy Wingo <wingo@pobox.com>
Tue, 15 Mar 2011 22:33:32 +0000 (23:33 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 15 Mar 2011 22:45:58 +0000 (23:45 +0100)
commit9b709b0fe1ec5a71903e07d21006441d15e0c1ed
tree21ba9462ce57a01a57e5c7ab9a2d167a5fd299ef
parent958173e489c69b2f9e3c83752713a89e3ea3e79d
fix frame dynamic linkage in the face of partial continuation application

* libguile/vm-i-system.c (new-frame): Though it was appealing to set the
  dynamic link here on the incomplete frame, we no longer do that, for
  the reasons mentioned in the code.
  (call, mv-call): Adapt to set the frame's dynamic link.

* libguile/vm-engine.c (vm_engine): Don't set dynamic link here, even
  for boot program.

* libguile/frames.c (scm_frame_num_locals, scm_frame_local_ref)
  (scm_frame_local_set_x): Fix up not-yet-active frame detection.
libguile/frames.c
libguile/vm-engine.c
libguile/vm-i-system.c