cmd/compile: make Maxarg local

Passes toolstash -cmp. No compiler performance impact.

Updates #15756

Change-Id: I1294058716d83dd1be495d399ed7ab2277754dc6
Reviewed-on: https://go-review.googlesource.com/38329
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Josh Bleecher Snyder 2017-03-17 08:58:36 -07:00
parent 174b858f78
commit e0a5e69be2
4 changed files with 5 additions and 8 deletions

View file

@ -1200,7 +1200,6 @@ func addmethod(msym *Sym, t *Type, local, nointerface bool) {
func funccompile(n *Node) {
Stksize = BADWIDTH
Maxarg = 0
if n.Type == nil {
if nerrors == 0 {