]> Cypherpunks repositories - gostls13.git/commit
runtime: shorten hash lookup stack frames
authorRuss Cox <rsc@golang.org>
Fri, 28 Jun 2013 20:37:07 +0000 (13:37 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 28 Jun 2013 20:37:07 +0000 (13:37 -0700)
commita3f842a4c1aea97a79f751887555fd8497d0fed0
treedb0c3071f00017a241f379c3c2e01e7b79de0537
parent46161cd0798c9d80af53abd65875459658f22f6e
runtime: shorten hash lookup stack frames

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
src/pkg/runtime/hashmap_fast.c