Skip to content
  • Jason Miller's avatar
    Improve multiple-value support · 3c8c6bed
    Jason Miller authored
    Previously multiple-values were very fragile.
    
    Examples of things that didn't work, but now do:
    
      (multiple-value-bind (x y) (values 1 2) y)
    
      (defun foo () (values 1 2))
      (defun bar () foo)
      (multiple-value-bind (x y) (bar) y)
    
    Biggest downside of this change is that every return statement must be
    prefixed by a clearing of the MV register.
    3c8c6bed