Commit 5103500d authored by Russ Cox's avatar Russ Cox

runtime: mark endcgo go:nosplit

Should help windows/amd64.

TBR=khr
CC=golang-codereviews
https://golang.org/cl/134660043
parent ec96795b
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment