diff options
author | Matthew Dempsky <mdempsky@google.com> | 2017-04-21 18:11:15 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2017-04-22 01:36:17 +0000 |
commit | 5280dfbfad0fbae717a92b6698ba17eede8a2205 (patch) | |
tree | f7ccee16bd5f974d952b544ec70fe998d032074e /src/cmd/compile/internal/types/utils.go | |
parent | 716219ffd9dc32415cdd9167bf1343e13662ebfb (diff) | |
download | go-5280dfbfad0fbae717a92b6698ba17eede8a2205.tar.gz go-5280dfbfad0fbae717a92b6698ba17eede8a2205.zip |
cmd/compile/internal/types: eliminate FieldName
This functionality can be implemented in package types without a
trampoline back to gc.
Change-Id: Iaff7169fece35482e654553bf16b07dc67d1991a
Reviewed-on: https://go-review.googlesource.com/41416
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types/utils.go')
-rw-r--r-- | src/cmd/compile/internal/types/utils.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types/utils.go b/src/cmd/compile/internal/types/utils.go index 9d00adf979..5fb4021065 100644 --- a/src/cmd/compile/internal/types/utils.go +++ b/src/cmd/compile/internal/types/utils.go @@ -25,7 +25,6 @@ var ( Tconv func(*Type, int, int, int) string // orig: func tconv(t *Type, flag FmtFlag, mode fmtMode, depth int) string FormatSym func(*Sym, fmt.State, rune, int) // orig: func symFormat(sym *Sym, s fmt.State, verb rune, mode fmtMode) FormatType func(*Type, fmt.State, rune, int) // orig: func typeFormat(t *Type, s fmt.State, verb rune, mode fmtMode) - FieldName func(*Field) string TypeLinkSym func(*Type) *obj.LSym Ctxt *obj.Link |