cmd/compile: remove more dead code

Change-Id: Ib05a8e149db8accdb1474703cd7b7004243d91d4
Reviewed-on: https://go-review.googlesource.com/29214
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Matthew Dempsky 2016-09-14 23:57:50 -07:00
parent f03855f40e
commit 838eaa738f
5 changed files with 0 additions and 99 deletions

View file

@ -1398,21 +1398,6 @@ func cheapexpr(n *Node, init *Nodes) *Node {
return copyexpr(n, n.Type, init)
}
func Setmaxarg(t *Type, extra int32) {
dowidth(t)
w := t.ArgWidth()
if w >= Thearch.MAXWIDTH {
Fatalf("bad argwid %v", t)
}
w += int64(extra)
if w >= Thearch.MAXWIDTH {
Fatalf("bad argwid %d + %v", extra, t)
}
if w > Maxarg {
Maxarg = w
}
}
// Code to resolve elided DOTs in embedded types.
// A Dlist stores a pointer to a TFIELD Type embedded within