]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj: remove unused Getcallerpc function
authorMatthew Dempsky <mdempsky@google.com>
Tue, 28 Feb 2017 19:34:56 +0000 (11:34 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 28 Feb 2017 20:33:03 +0000 (20:33 +0000)
Change-Id: I0c7b677657326f318e906e109cbda0cfa78c4973
Reviewed-on: https://go-review.googlesource.com/37537
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
src/cmd/internal/obj/util.go

index 5880577655a6fe52e2b616f8c755a6af00423908..f1cfc96a6fc9eb454203d89f5583897ef9c6dca6 100644 (file)
@@ -181,10 +181,6 @@ func (ctxt *Link) freeProgs() {
        ctxt.allocIdx = 0
 }
 
-func Getcallerpc(interface{}) uintptr {
-       return 1
-}
-
 func (ctxt *Link) Dconv(a *Addr) string {
        return Dconv(nil, a)
 }