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