mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove a few unused bits of code
Just the low-hanging fruit; code that was either never used, or its last use was removed a while ago. Change-Id: Ic7f90aeee3e6daf7edc16cde3c0a767d67e617ee Reviewed-on: https://go-review.googlesource.com/c/go/+/192618 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
99df76f086
commit
c51909e3a5
4 changed files with 0 additions and 30 deletions
|
|
@ -11,8 +11,6 @@ import "cmd/compile/internal/types"
|
|||
// builtinpkg is a fake package that declares the universe block.
|
||||
var builtinpkg *types.Pkg
|
||||
|
||||
var itable *types.Type // distinguished *byte
|
||||
|
||||
var basicTypes = [...]struct {
|
||||
name string
|
||||
etype types.EType
|
||||
|
|
@ -361,8 +359,6 @@ func typeinit() {
|
|||
|
||||
dowidth(types.Types[TSTRING])
|
||||
dowidth(types.Idealstring)
|
||||
|
||||
itable = types.NewPtr(types.Types[TUINT8])
|
||||
}
|
||||
|
||||
func makeErrorInterface() *types.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue