mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/internal/obj: fix typo in docs
Change-Id: I5a3d26a4cc59b327d46ca24bcb01ef594758c230 Reviewed-on: https://go-review.googlesource.com/c/go/+/296531 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
6c3bcda866
commit
7fcf9893f7
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ func (p *Prog) SetFrom3(a Addr) {
|
||||||
p.RestArgs = []AddrPos{{a, Source}}
|
p.RestArgs = []AddrPos{{a, Source}}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetTo2 assings []Args{{a, 1}} to p.RestArgs when the second destination
|
// SetTo2 assigns []Args{{a, 1}} to p.RestArgs when the second destination
|
||||||
// operand does not fit into prog.RegTo2.
|
// operand does not fit into prog.RegTo2.
|
||||||
func (p *Prog) SetTo2(a Addr) {
|
func (p *Prog) SetTo2(a Addr) {
|
||||||
p.RestArgs = []AddrPos{{a, Destination}}
|
p.RestArgs = []AddrPos{{a, Destination}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue