mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 03:51:47 -08:00
cmp: fix constant folding for functions that return multiple values
This commit is contained in:
parent
0407b9697c
commit
209434f91a
1 changed files with 2 additions and 3 deletions
|
|
@ -157,9 +157,8 @@
|
|||
(push v all-values)
|
||||
(return nil))
|
||||
finally
|
||||
(return (c1constant-value
|
||||
(apply fname (nreverse all-values))
|
||||
:only-small-values nil)))
|
||||
(return (c1expr `(values ,@(multiple-value-list
|
||||
(apply fname (nreverse all-values)))))))
|
||||
(error (c)))))
|
||||
|
||||
(defun c2expr (form)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue