]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: correct FixedStack value (fixes windows build)
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 13 Jul 2011 23:13:39 +0000 (09:13 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 13 Jul 2011 23:13:39 +0000 (09:13 +1000)
Fixes #2068.

R=rsc
CC=golang-dev
https://golang.org/cl/4705046

src/pkg/runtime/stack.h

index cf353653664b12a8850755829a120497efdf52e7..44d5533f456a64c3433ee15db21b5c4d6034fdd5 100644 (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