Commit f3b4e785 authored by Gerrit Code Review's avatar Gerrit Code Review

Merge "[dev.ssa] Merge commit 'f135c326' into...

Merge "[dev.ssa] Merge commit 'f135c326' into mergebranch" into dev.ssa
parents 04840523 01dbfb81
...@@ -289,7 +289,7 @@ var aeskeysched [hashRandomBytes]byte ...@@ -289,7 +289,7 @@ var aeskeysched [hashRandomBytes]byte
// used in hash{32,64}.go to seed the hash function // used in hash{32,64}.go to seed the hash function
var hashkey [4]uintptr var hashkey [4]uintptr
func init() { func alginit() {
// Install aes hash algorithm if we have the instructions we need // Install aes hash algorithm if we have the instructions we need
if (GOARCH == "386" || GOARCH == "amd64") && if (GOARCH == "386" || GOARCH == "amd64") &&
GOOS != "nacl" && GOOS != "nacl" &&
......
...@@ -439,7 +439,8 @@ func schedinit() { ...@@ -439,7 +439,8 @@ func schedinit() {
stackinit() stackinit()
mallocinit() mallocinit()
mcommoninit(_g_.m) mcommoninit(_g_.m)
typelinksinit() alginit() // maps must not be used before this call
typelinksinit() // uses maps
itabsinit() itabsinit()
msigsave(_g_.m) msigsave(_g_.m)
......
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