Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2002-11-11 10:58:40 by simonpj] · d0829767
    Simon Peyton Jones authored
    ------------------
      	Improve byte-code compilation of unboxed
    	 	tuple returns
    		------------------
    
    The previous byte-code for returning unboxed tuples was just wrong.  It's
    a special case for the situation where we return (# s, x #), where s is
    a state token, so we can just return the single result 'x' on top of the
    stack.  Previously we generated an ENTER at the end, which is plain wrong.
    We should RETURN.
    
    It still doesn't work, for other tiresome reasons...but rather than fix it
    we'll wait for eval-apply.  Meanwhile it's less wrong than before.
    d0829767