Commit 92cffa13 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent ed2f913b
...@@ -76,12 +76,6 @@ func mkfwd(sym *LSym) { ...@@ -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 { func Appendp(ctxt *Link, q *Prog) *Prog {
p := ctxt.NewProg() p := ctxt.NewProg()
p.Link = q.Link p.Link = q.Link
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment