Commit 793bb6cc authored by Rob Pike's avatar Rob Pike

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
parent 3b76d70e
......@@ -6,4 +6,6 @@
package sha1
//go:noescape
func block(dig *digest, p []byte)
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