mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: change export.go and fmt.go to use nodeSeq
Also fix some uses of nodeSeqIterator.Len, and fix the implementation in nodesIterator. Passes toolstash -cmp. Update #14473. Change-Id: I228871470234b7f1314ffd2aae8a4c0624c35f98 Reviewed-on: https://go-review.googlesource.com/20231 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
3375974e0d
commit
55c65d4a97
11 changed files with 54 additions and 90 deletions
|
|
@ -2185,7 +2185,7 @@ func genwrapper(rcvr *Type, method *Type, newnam *Sym, iface int) {
|
|||
}
|
||||
|
||||
if false && Debug['r'] != 0 {
|
||||
dumpslice("genwrapper body", fn.Nbody.Slice())
|
||||
dumplist("genwrapper body", fn.Nbody)
|
||||
}
|
||||
|
||||
funcbody(fn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue