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
|
|
@ -1384,7 +1384,7 @@ func esccall(e *EscState, n *Node, up *Node) {
|
|||
initEscretval(e, n, fntype)
|
||||
// If there is a receiver, it also leaks to heap.
|
||||
if n.Op != OCALLFUNC {
|
||||
t := fntype.Recv0()
|
||||
t := fntype.Recv()
|
||||
src := n.Left.Left
|
||||
if haspointers(t.Type) {
|
||||
escassign(e, &e.theSink, src)
|
||||
|
|
@ -1468,7 +1468,7 @@ func esccall(e *EscState, n *Node, up *Node) {
|
|||
|
||||
// Receiver.
|
||||
if n.Op != OCALLFUNC {
|
||||
t := fntype.Recv0()
|
||||
t := fntype.Recv()
|
||||
src := n.Left.Left
|
||||
if haspointers(t.Type) {
|
||||
escassignfromtag(e, t.Note, nE.Escretval, src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue