Setjmp before calling into the VM
authorAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 20:15:58 +0000 (21:15 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 20:15:58 +0000 (21:15 +0100)
commitdd1c7decccd35dc37950310b403b8e45a658fea4
tree04b7f835bdcc185d61d7bf6b28b2b3166a10e796
parentbd63e5b2c3e28cc6db0b0bdc7ea9103b5688e085
Setjmp before calling into the VM

* libguile/vm-engine.c (CACHE_REGISTER): Remove an unneeded cast.
  (VM_NAME):
* libguile/vm.c (scm_call_n): Setjmp out here.  This leaves the VM
  without any initialization work to do.  It also makes it possible to
  restart the VM in another mode (with hooks, for example).
libguile/vm-engine.c
libguile/vm.c