cmd/compile: unexport gc.Sysfunc

Updates #21352

Change-Id: If21342f30be32e25840b4072b932a6d4257b420d
Reviewed-on: https://go-review.googlesource.com/54091
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Josh Bleecher Snyder 2017-08-08 16:40:07 -07:00
parent a6ae01a64a
commit 3b87defe4e
3 changed files with 28 additions and 28 deletions

View file

@ -788,7 +788,7 @@ func dcommontype(lsym *obj.LSym, ot int, t *types.Type) int {
sizeofAlg := 2 * Widthptr
if algarray == nil {
algarray = Sysfunc("algarray")
algarray = sysfunc("algarray")
}
dowidth(t)
alg := algtype(t)
@ -1586,8 +1586,8 @@ func dalgsym(t *types.Type) *obj.LSym {
s.SetAlgGen(true)
if memhashvarlen == nil {
memhashvarlen = Sysfunc("memhash_varlen")
memequalvarlen = Sysfunc("memequal_varlen")
memhashvarlen = sysfunc("memhash_varlen")
memequalvarlen = sysfunc("memequal_varlen")
}
// make hash closure