• Russ Cox's avatar
    runtime: shorten hash lookup stack frames · a3f842a4
    Russ Cox authored
    On amd64 the frames are very close to the limit for a
    nosplit (textflag 7) function, in part because the C compiler
    does not make any attempt to reclaim space allocated for
    completely registerized variables. Avoid a few short-lived
    variables to reclaim two words.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/10758043
    a3f842a4
hashmap_fast.c 5.25 KB