• Russ Cox's avatar
    6l: correct logic for morestack choice · c2b91d48
    Russ Cox authored
    The frame that gets allocated is for both
    the args and the autos.  If together they
    exceed the default frame size, we need to
    tell morestack about both so that it allocates
    a large enough frame.
    
    Sanity check stack pointer in morestack
    to catch similar bugs.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/2609041
    c2b91d48
pass.c 13.9 KB