diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-08 18:07:33 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-08 18:07:33 -0400 |
| commit | 5103500d130b3b74c0c3a75ac8dab5285111ffbe (patch) | |
| tree | a72f57f30406589b020955bfe2460f5f82067152 /src | |
| parent | ec96795ba20209263a0bbb17a073a9c028e74437 (diff) | |
| download | go-5103500d130b3b74c0c3a75ac8dab5285111ffbe.tar.xz | |
runtime: mark endcgo go:nosplit
Should help windows/amd64.
TBR=khr
CC=golang-codereviews
https://golang.org/cl/134660043
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/cgocall.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/cgocall.go b/src/runtime/cgocall.go index 76a533e933..a21474b01f 100644 --- a/src/runtime/cgocall.go +++ b/src/runtime/cgocall.go @@ -134,6 +134,7 @@ func cgocall_errno(fn, arg unsafe.Pointer) int32 { return errno } +//go:nosplit func endcgo(mp *m) { mp.ncgo-- if mp.ncgo == 0 { |
