diff options
| author | Dave Cheney <dave@cheney.net> | 2016-04-09 15:04:45 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2016-04-09 06:55:21 +0000 |
| commit | bce9747ed00c53e7ddeea102e87aede1b3ec9bd3 (patch) | |
| tree | 5926f924cd646719e05b213890e6b29dd3fb16b9 /src/cmd/internal/obj/mips | |
| parent | 93368be61ebaf8069d0d70034097de580441c412 (diff) | |
| download | go-bce9747ed00c53e7ddeea102e87aede1b3ec9bd3.tar.xz | |
cmd: remove unused code
Generated with honnef.co/go/unused
There is a large amount of unused code in cmd/internal/obj/s390x but
that can wait til the s390x port is merged.
There is some unused code in
cmd/internal/unvendor/golang.org/x/arch/arm/armasm but that should be
addressed upstream and a new revision imported.
Change-Id: I252c0f9ea8c5bb1a0b530a374ef13a0a20ea56aa
Reviewed-on: https://go-review.googlesource.com/21782
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Dave Cheney <dave@cheney.net>
Diffstat (limited to 'src/cmd/internal/obj/mips')
| -rw-r--r-- | src/cmd/internal/obj/mips/asm0.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/internal/obj/mips/asm0.go b/src/cmd/internal/obj/mips/asm0.go index 521cb66dec..5cb5d1cfd9 100644 --- a/src/cmd/internal/obj/mips/asm0.go +++ b/src/cmd/internal/obj/mips/asm0.go @@ -974,10 +974,6 @@ func OP_JMP(op uint32, i uint32) uint32 { return op | i&0x3FFFFFF } -func oclass(a *obj.Addr) int { - return int(a.Class) - 1 -} - func asmout(ctxt *obj.Link, p *obj.Prog, o *Optab, out []uint32) { o1 := uint32(0) o2 := uint32(0) |
