Commit d60ee7b1 authored by ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Fix MULTIPLE-VALUE-PROG1.10 -- compiled mode.

parent 417a76a1
......@@ -3005,6 +3005,14 @@ given a specific common representation.")
(emit-getfield +lisp-thread+ "_values" +lisp-object-array+)
(astore values-register)
;; we need to clear the values again:
;; some parts will consider a non-null _values array
;; by itself a legitimate return value (multiple values)
;; however, if we have a non-local return after the previous form
;; set the values array, other code may pick up the values instead
;; of the actual return code. (Fixes MULTIPLE-VALUE-PROG1.10)
(compile-progn-body subforms nil nil)
;; Restore multiple values returned by first subform.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment