From: Matthew Dempsky Date: Tue, 12 Apr 2016 21:44:49 +0000 (-0700) Subject: cmd/internal/obj: remove unused Pciter type X-Git-Tag: go1.7beta1~730 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e46b00a43b62bd67ec13ca75c51037db3b312043;p=gostls13.git cmd/internal/obj: remove unused Pciter type Change-Id: Ie8323cfcd1193f390729d0d3dd67863aedf47d13 Reviewed-on: https://go-review.googlesource.com/21906 Run-TryBot: Matthew Dempsky Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go index 146be6f98f..42aaa5f4f0 100644 --- a/src/cmd/internal/obj/link.go +++ b/src/cmd/internal/obj/link.go @@ -600,19 +600,6 @@ type Pcdata struct { P []byte } -// Pcdata iterator. -// for(pciterinit(ctxt, &it, &pcd); !it.done; pciternext(&it)) { it.value holds in [it.pc, it.nextpc) } -type Pciter struct { - d Pcdata - p []byte - pc uint32 - nextpc uint32 - pcscale uint32 - value int32 - start int - done int -} - // symbol version, incremented each time a file is loaded. // version==1 is reserved for savehist. const (