1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:54:40 -07:00

runtime: remove unused printpc and printbyte functions

Change-Id: I40e338f6b445ca72055fc9bac0f09f0dca904e3a
Reviewed-on: https://go-review.googlesource.com/16191
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Aaron Jacobs 2015-10-22 13:03:04 +11:00 committed by Brad Fitzpatrick
parent c4fa25f4fc
commit 151f4ec95d

View File

@ -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: