heapify the bootstrap program
authorAndy Wingo <wingo@pobox.com>
Fri, 8 Aug 2008 15:05:41 +0000 (17:05 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 8 Aug 2008 15:05:41 +0000 (17:05 +0200)
commit29711eb918794ea47999928c0817be6d1be6247f
treea6b2c29afd9f1ca1ec5d940e090a2e054aca5191
parente15f47740b754276960c7b8cc38da14ae0ac9a83
heapify the bootstrap program

* src/vm_engine.c (vm_run):
* src/programs.c (scm_c_make_program): If the holder is #f, malloc *and*
  copy the bytecode.

* module/system/vm/frame.scm (bootstrap-frame?): Now that we actually
  heapify the bootstrap program, we can check for `halt' in the bytecode.
module/system/vm/frame.scm
src/programs.c
src/vm_engine.c