]> Cypherpunks repositories - gostls13.git/commit
runtime: mark {g,m,p}uintptr methods as nosplit
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 23 Nov 2015 20:15:36 +0000 (09:15 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 24 Nov 2015 02:33:04 +0000 (02:33 +0000)
commit239273d963395676484693328b17961f2f862b08
tree1637f8d4e39c4ab320421a214283131b826e3181
parentecf388f3a4dda0ffb1b11f65d2f5d703e7e4133f
runtime: mark {g,m,p}uintptr methods as nosplit

These are methods that are "obviously" going to get inlined -- until you build
with -l, when they can trigger a stack split at a bad time.

Fixes #11482

Change-Id: Ia065c385978a2e7fe9f587811991d088c4d68325
Reviewed-on: https://go-review.googlesource.com/17165
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/runtime2.go