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
|
|
@ -695,7 +695,7 @@ opswitch:
|
|||
}
|
||||
walkexpr(&n.Left, init)
|
||||
walkexprlist(n.List.Slice(), init)
|
||||
ll := ascompatte(n.Op, n, false, t.Recv(), []*Node{n.Left.Left}, 0, init)
|
||||
ll := ascompatte(n.Op, n, false, t.Recvs(), []*Node{n.Left.Left}, 0, init)
|
||||
lr := ascompatte(n.Op, n, n.Isddd, t.Params(), n.List.Slice(), 0, init)
|
||||
ll = append(ll, lr...)
|
||||
n.Left.Left = nil
|
||||
|
|
@ -2623,7 +2623,7 @@ func returnsfromheap(params *Type) []*Node {
|
|||
func heapmoves() {
|
||||
lno := lineno
|
||||
lineno = Curfn.Lineno
|
||||
nn := paramstoheap(Curfn.Type.Recv(), false)
|
||||
nn := paramstoheap(Curfn.Type.Recvs(), false)
|
||||
nn = append(nn, paramstoheap(Curfn.Type.Params(), false)...)
|
||||
nn = append(nn, paramstoheap(Curfn.Type.Results(), true)...)
|
||||
Curfn.Func.Enter.Append(nn...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue