Commit 151f4ec9 authored by Aaron Jacobs's avatar Aaron Jacobs Committed by Brad Fitzpatrick

runtime: remove unused printpc and printbyte functions

Change-Id: I40e338f6b445ca72055fc9bac0f09f0dca904e3a
Reviewed-on: https://go-review.googlesource.com/16191Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent c4fa25f4
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment