mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
make-array bugfix
* libguile/vm-i-scheme.c (make-array): Fix terrible stack corruption bug.
This commit is contained in:
parent
e106eca674
commit
e30f5b7d40
1 changed files with 2 additions and 1 deletions
|
@ -668,7 +668,8 @@ VM_DEFINE_INSTRUCTION (177, make_array, "make-array", 3, -1, 1)
|
|||
SYNC_REGISTER ();
|
||||
ret = scm_from_contiguous_array (shape, sp - len + 1, len);
|
||||
DROPN (len);
|
||||
RETURN (ret);
|
||||
PUSH (ret);
|
||||
NEXT;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue