Fixed a stack leak. Now observing actual performance.
authorLudovic Court`es <ludovic.courtes@laas.fr>
Mon, 2 May 2005 16:32:32 +0000 (16:32 +0000)
committerLudovic Courtès <ludo@gnu.org>
Fri, 25 Apr 2008 17:09:30 +0000 (19:09 +0200)
commitf41cb00ce25d0263bb58e83e3d632ec6bf79b05a
tree1c5fc0ae707fa3bf8b2fc55ff220332bc6a8f285
parent2d80426a3ec7de15a194d0baed0e9f4be8659b92
Fixed a stack leak.  Now observing actual performance.

* src/*.[ch]:  Replaced `scm_mem2symbol' by `scm_from_locale_symboln' and
  `scm_ulong2num' by `scm_from_ulong'.
* src/vm_system.c (tail-call):  Fixed stack leak (SP lacked decrement by
  one more Scheme object in the tail-recursive case).
* benchmark/measure.scm (measure):  Make sure we are using the compiled
  procedure (i.e. a program object) when measuring.  This yields better
  results than before.  :-)
* doc/guile-vm.texi:  Augmented the instruction set documentation with
  branch instructions, `call' and `tail-call'.

git-archimport-id: lcourtes@laas.fr--2004-libre/guile-vm--revival--0.6--patch-7
README
benchmark/lib.scm
benchmark/measure.scm
doc/guile-vm.texi
src/frames.c
src/programs.c
src/vm.c
src/vm_engine.h
src/vm_loader.c
src/vm_system.c