• Dave Cheney's avatar
    cmd/compile/internal: unexport gc.Oconv · 8f2e780e
    Dave Cheney authored
    Updates #15462
    
    Semi automatic change with gofmt -r and hand fixups for callers outside
    internal/gc.
    
    All the uses of gc.Oconv outside cmd/compile/internal/gc were for the
    Oconv(op, 0) form, which is already handled the Op.String method.
    
    Replace the use of gc.Oconv(op, 0) with op itself, which will call
    Op.String via the %v or %s verb. Unexport Oconv.
    
    Change-Id: I84da2a2e4381b35f52efce427b2d6a3bccdf2526
    Reviewed-on: https://go-review.googlesource.com/22496
    Run-TryBot: Dave Cheney <dave@cheney.net>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    8f2e780e
cgen64.go 17.1 KB