aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/types/utils.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2017-04-07 14:38:54 -0700
committerMatthew Dempsky <mdempsky@google.com>2017-04-07 22:11:36 +0000
commit315858371337af5898307136d142f9457f6d0c1c (patch)
tree931ebc04c6d4e4c7485f4156d66f428aa8f80a04 /src/cmd/compile/internal/types/utils.go
parentc9446398e8d72263f75c11bb835d75421627b3a3 (diff)
downloadgo-315858371337af5898307136d142f9457f6d0c1c.tar.gz
go-315858371337af5898307136d142f9457f6d0c1c.zip
cmd/compile/internal/types: remove Cmptmp
It's unused and redundant with types.Type.Compare. Change-Id: I8d93473e9cee61650cb0c19a402316a3d418160e Reviewed-on: https://go-review.googlesource.com/40011 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types/utils.go')
-rw-r--r--src/cmd/compile/internal/types/utils.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/types/utils.go b/src/cmd/compile/internal/types/utils.go
index b0d471f210..5f3692fef4 100644
--- a/src/cmd/compile/internal/types/utils.go
+++ b/src/cmd/compile/internal/types/utils.go
@@ -5,7 +5,6 @@
package types
import (
- "cmd/compile/internal/ssa"
"cmd/internal/obj"
"fmt"
)
@@ -26,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)
- Cmptyp func(_, _ *Type) ssa.Cmp
FieldName func(*Field) string
TypeLinkSym func(*Type) *obj.LSym