1
0
mirror of https://github.com/golang/go synced 2024-11-21 19:14:44 -07:00

runtime: correct FixedStack value (fixes windows build)

Fixes #2068.

R=rsc
CC=golang-dev
https://golang.org/cl/4705046
This commit is contained in:
Alex Brainman 2011-07-14 09:13:39 +10:00
parent 3f2cc8ba7e
commit dde435587d

View File

@ -71,7 +71,7 @@ enum {
// If the amount needed for the splitting frame + StackExtra
// is less than this number, the stack will have this size instead.
StackMin = 4096,
FixedStack = StackMin,
FixedStack = StackMin + StackSystem,
// Functions that need frames bigger than this call morestack
// unconditionally. That is, on entry to a function it is assumed