add scm_c_abort, wire it up to the abort opcode
authorAndy Wingo <wingo@pobox.com>
Fri, 19 Feb 2010 15:55:36 +0000 (16:55 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 19 Feb 2010 15:55:36 +0000 (16:55 +0100)
commiteaefabee34506324ecb1470ac5a4ba774381d038
tree5f76c7fe3e10ccb460118799c56756dc054c6357
parentea6b18e82f3ac2122d07c80bc0f320ea839a25b6
add scm_c_abort, wire it up to the abort opcode

* libguile/control.h:
* libguile/control.c (scm_c_abort): Add an implementation of `abort',
  but it doesn't reify the continuation yet.

* libguile/vm-i-system.c (abort):
* libguile/vm.c (vm_abort): Wire up the call to `abort', avoiding
  consing the args into a list.

* module/language/tree-il/compile-glil.scm (flatten): Add some compily
  bits that can allow the abort to be resumed.
libguile/control.c
libguile/control.h
libguile/vm-i-system.c
libguile/vm.c
module/language/tree-il/compile-glil.scm