diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-19 04:09:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-19 04:09:55 +0000 |
commit | 549e4febc34ae8ef2ef13f621e7fe69cb73e1aee (patch) | |
tree | a892c363528bcc777c992688c6b6f8f22b48e413 | |
parent | 502a18ca457465a358e9a595fc9071a5f065fb4a (diff) |
runtime: add go:noescape declaration for Solaris
Patch by Rainer Orth.
Reviewed-on: https://go-review.googlesource.com/88376
From-SVN: r256872
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/go/runtime/netpoll_solaris.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 93e7215271e..1a51e104084 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -925635f067d40d30acf565b620cc859ee7cbc990 +6b4f1391e2cd637fa5ed797bb3ab43d9ede61997 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/runtime/netpoll_solaris.go b/libgo/go/runtime/netpoll_solaris.go index e1e73857f40..a960e93b8bf 100644 --- a/libgo/go/runtime/netpoll_solaris.go +++ b/libgo/go/runtime/netpoll_solaris.go @@ -84,6 +84,7 @@ func port_associate(port, source int32, object uintptr, events uint32, user uint //extern port_dissociate func port_dissociate(port, source int32, object uintptr) int32 +//go:noescape //extern port_getn func port_getn(port int32, evs *portevent, max uint32, nget *uint32, timeout *timespec) int32 |