mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: rename Recv->Recvs and Recv0->Recv
Change-Id: Ice3aa807169f4fec85745a3991b1084a9f85c1b5 Reviewed-on: https://go-review.googlesource.com/20499 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
0cff505871
commit
f91b832ab5
15 changed files with 42 additions and 43 deletions
|
|
@ -295,7 +295,7 @@ func dowidth(t *Type) {
|
|||
case TFUNCARGS:
|
||||
t1 := t.Type
|
||||
|
||||
w = widstruct(t.Type, t1.Recv(), 0, 0)
|
||||
w = widstruct(t.Type, t1.Recvs(), 0, 0)
|
||||
w = widstruct(t.Type, t1.Params(), w, Widthreg)
|
||||
w = widstruct(t.Type, t1.Results(), w, Widthreg)
|
||||
t1.Argwid = w
|
||||
|
|
@ -618,7 +618,7 @@ func typeinit() {
|
|||
func Argsize(t *Type) int {
|
||||
var w int64
|
||||
|
||||
for _, p := range recvParamsResults {
|
||||
for _, p := range recvsParamsResults {
|
||||
for f, it := IterFields(p(t)); f != nil; f = it.Next() {
|
||||
if x := f.Width + f.Type.Width; x > w {
|
||||
w = x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue