mirror of
https://github.com/golang/go
synced 2024-11-22 22:20:03 -07:00
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
This commit is contained in:
parent
3b76d70e11
commit
793bb6cce7
@ -6,4 +6,6 @@
|
||||
|
||||
package sha1
|
||||
|
||||
//go:noescape
|
||||
|
||||
func block(dig *digest, p []byte)
|
||||
|
Loading…
Reference in New Issue
Block a user