mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
39651bb50b
commit
249aca5dee
7 changed files with 29 additions and 52 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue