From: Rob Pike Date: Tue, 25 Jun 2013 00:48:31 +0000 (-0700) Subject: crypto/sha1: mark block as non-escaping X-Git-Tag: go1.2rc2~1184 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=793bb6cce763c8181a25190e41206b1786e849bd;p=gostls13.git crypto/sha1: mark block as non-escaping The compiler still gets the escape analysis wrong, but the annotation here is correct. R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/10514046 --- diff --git a/src/pkg/crypto/sha1/sha1block_decl.go b/src/pkg/crypto/sha1/sha1block_decl.go index 3512a58299..4cb157fff6 100644 --- a/src/pkg/crypto/sha1/sha1block_decl.go +++ b/src/pkg/crypto/sha1/sha1block_decl.go @@ -6,4 +6,6 @@ package sha1 +//go:noescape + func block(dig *digest, p []byte)