cmd/compile/internal/gc: unexport or remove global functions

Change-Id: Ib2109ab773fbf2a35188300cf91a54735f75fc7c
Reviewed-on: https://go-review.googlesource.com/36736
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Hajime Hoshi 2017-02-11 02:09:57 +09:00 committed by Matthew Dempsky
parent 39651bb50b
commit 249aca5dee
7 changed files with 29 additions and 52 deletions

View file

@ -1402,7 +1402,7 @@ func genAsInitNoCheck(n *Node) bool {
nam.Xoffset += int64(array_nel) - int64(array_array)
var nod1 Node
Nodconst(&nod1, Types[TINT], nr.Type.NumElem())
nodconst(&nod1, Types[TINT], nr.Type.NumElem())
gdata(&nam, &nod1, Widthint)
nam.Xoffset += int64(array_cap) - int64(array_nel)