fix bug in subr-call and smob-call
authorAndy Wingo <wingo@pobox.com>
Sat, 9 Jan 2010 20:48:16 +0000 (21:48 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 9 Jan 2010 20:48:16 +0000 (21:48 +0100)
commitfc7648637b356078988ca1ed598e74c394beeaaa
tree2080fce333a678ed5704005536b54d84d496e1a1
parent37e9bc8ae48ae2c014fd4f63fc37b18348d05513
fix bug in subr-call and smob-call

* libguile/vm-i-system.c (subr-call, smob-call): Unlike the previous
  situation, in which a call to a subr or a smob didn't actually build a
  frame, we no longer need to explicitly pop the procedure and its
  arguments. Indeed the procedure and its arguments must remain on the
  stack, for hooks and ticks and such always to see frames with valid
  procedures. Two lines out, two bugs less, and faster to boot.
libguile/vm-i-system.c