1
0
mirror of https://github.com/golang/go synced 2024-09-30 01:24:33 -06:00

cmd/internal/obj: remove dead func Copyp

Change-Id: Iaeb7bcbcdbc46c0e0e40b0aa070c706e0ca53013
Reviewed-on: https://go-review.googlesource.com/39555
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-04-04 12:48:38 -07:00
parent ed2f913b4c
commit 92cffa1391

View File

@ -76,12 +76,6 @@ func mkfwd(sym *LSym) {
}
}
func Copyp(ctxt *Link, q *Prog) *Prog {
p := ctxt.NewProg()
*p = *q
return p
}
func Appendp(ctxt *Link, q *Prog) *Prog {
p := ctxt.NewProg()
p.Link = q.Link