From 151f4ec95d26ed702160f61760cc80aa29b6fd3b Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Thu, 22 Oct 2015 13:03:04 +1100 Subject: [PATCH] runtime: remove unused printpc and printbyte functions Change-Id: I40e338f6b445ca72055fc9bac0f09f0dca904e3a Reviewed-on: https://go-review.googlesource.com/16191 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/runtime/print.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/runtime/print.go b/src/runtime/print.go index b0e503afe7..f789f89083 100644 --- a/src/runtime/print.go +++ b/src/runtime/print.go @@ -71,10 +71,6 @@ func printnl() { print("\n") } -func printpc(p unsafe.Pointer) { - print("PC=", hex(uintptr(p))) -} - func printbool(v bool) { if v { print("true") @@ -83,10 +79,6 @@ func printbool(v bool) { } } -func printbyte(c byte) { - gwrite((*[1]byte)(unsafe.Pointer(&c))[:]) -} - func printfloat(v float64) { switch { case v != v: