mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
bind-rest inst uses cons-rest intrinsic
* libguile/vm-engine.c (bind-rest): Use cons-rest intrinsic to build the rest list.
This commit is contained in:
parent
294e627c6b
commit
7e11c992f3
1 changed files with 1 additions and 7 deletions
|
@ -1130,13 +1130,7 @@ VM_NAME (scm_thread *thread, jmp_buf *registers, int resume)
|
|||
else
|
||||
{
|
||||
SYNC_IP ();
|
||||
|
||||
while (nargs-- > dst)
|
||||
{
|
||||
rest = scm_inline_cons (thread, FP_REF (nargs), rest);
|
||||
FP_SET (nargs, SCM_UNDEFINED);
|
||||
}
|
||||
|
||||
rest = scm_vm_intrinsics.cons_rest (thread, dst);
|
||||
RESET_FRAME (dst + 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue