mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
f03855f40e
commit
838eaa738f
5 changed files with 0 additions and 99 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue