mirror of
https://github.com/golang/go.git
synced 2026-04-02 01:10:27 +09: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:
@@ -360,7 +360,7 @@ func (p *Prog) SetFrom3(a Addr) {
|
||||
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.
|
||||
func (p *Prog) SetTo2(a Addr) {
|
||||
p.RestArgs = []AddrPos{{a, Destination}}
|
||||
|
||||
Reference in New Issue
Block a user