mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-31 23:00:54 -08:00
The only time we insert a spurious element is when initializing a stack.
This commit is contained in:
parent
1d4d930a88
commit
7f080fcbba
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ cl_stack_set_size(cl_index new_size)
|
|||
/* A stack always has at least one element. This is assumed by cl__va_start
|
||||
* and friends, which take a sp=0 to have no arguments.
|
||||
*/
|
||||
cl_stack_push(MAKE_FIXNUM(0));
|
||||
if (top == 0)
|
||||
cl_stack_push(MAKE_FIXNUM(0));
|
||||
|
||||
end_critical_section();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue