aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes/bytes.go
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2013-02-10 00:08:30 +0800
committerShenghou Ma <minux.ma@gmail.com>2013-02-10 00:08:30 +0800
commit691e5e3b01706803a15350656668474e1fc2084f (patch)
tree08877ecca3ebb4994c866ae2c991777714a7d8ba /src/pkg/bytes/bytes.go
parent705b4544d61fb103a5900e6c099b3c7aafeb91f7 (diff)
downloadgo-691e5e3b01706803a15350656668474e1fc2084f.tar.xz
bytes: annotate assembly functions with //go:noescape
R=golang-dev, agl, bradfitz, rsc CC=golang-dev https://golang.org/cl/7299064
Diffstat (limited to 'src/pkg/bytes/bytes.go')
-rw-r--r--src/pkg/bytes/bytes.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go
index 6d40af4436..3bab65ef90 100644
--- a/src/pkg/bytes/bytes.go
+++ b/src/pkg/bytes/bytes.go
@@ -37,10 +37,6 @@ func Compare(a, b []byte) int {
return 0
}
-// Equal returns a boolean reporting whether a == b.
-// A nil argument is equivalent to an empty slice.
-func Equal(a, b []byte) bool
-
func equalPortable(a, b []byte) bool {
if len(a) != len(b) {
return false