mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
Fix subr-call
* libguile/vm-engine.c (subr-call): Fix for locals count including the procedure.
This commit is contained in:
parent
e93c0430fa
commit
8d23c43641
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
|
||||||
VM_HANDLE_INTERRUPTS;
|
VM_HANDLE_INTERRUPTS;
|
||||||
SYNC_IP ();
|
SYNC_IP ();
|
||||||
|
|
||||||
switch (FRAME_LOCALS_COUNT ())
|
switch (FRAME_LOCALS_COUNT () - 1)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
ret = subr ();
|
ret = subr ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue