mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 21:59:17 +02:00
pre-setting all values to void on reserve
This commit is contained in:
parent
6ec7cbf766
commit
8345f7d74c
1 changed files with 2 additions and 1 deletions
3
vm.c
3
vm.c
|
@ -1085,7 +1085,8 @@ sexp sexp_apply (sexp ctx, sexp proc, sexp args) {
|
|||
#if SEXP_USE_RESERVE_OPCODE
|
||||
case SEXP_OP_RESERVE:
|
||||
_ALIGN_IP();
|
||||
top += _SWORD0;
|
||||
for (i=_SWORD0; i > 0; i--)
|
||||
stack[top++] = SEXP_VOID;
|
||||
ip += sizeof(sexp);
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue