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:
parent
c4fa25f4fc
commit
151f4ec95d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user