• Dave Cheney's avatar
    cmd/compile/internal/gc: unexport more helper functions · d7012ca2
    Dave Cheney authored
    After the removal of the old backend many types are no longer referenced
    outside internal/gc. Make these functions private so that tools like
    honnef.co/go/unused can spot when they become dead code. In doing so
    this CL identified several previously public helpers which are no longer
    used, so removes them.
    
    This should be the last of the public functions.
    
    Change-Id: I7e9c4e72f86f391b428b9dddb6f0d516529706c3
    Reviewed-on: https://go-review.googlesource.com/29134
    Run-TryBot: Dave Cheney <dave@cheney.net>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    d7012ca2
init.go 3.89 KB