runtime: remove go prefix from a few routines

They are no longer needed now that C is gone.

goatoi -> atoi
gofuncname/funcname -> funcname/cfuncname
goroundupsize -> already existing roundupsize

Change-Id: I278bc33d279e1fdc5e8a2a04e961c4c1573b28c7
Reviewed-on: https://go-review.googlesource.com/2154
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Keith Randall 2014-12-28 23:16:32 -08:00
parent ab0535ae3f
commit 0bb8fc6614
12 changed files with 35 additions and 49 deletions

View file

@ -274,7 +274,7 @@ func dumpframe(s *stkframe, arg unsafe.Pointer) bool {
dumpint(uint64(f.entry))
dumpint(uint64(s.pc))
dumpint(uint64(s.continpc))
name := gofuncname(f)
name := funcname(f)
if name == "" {
name = "unknown function"
}
@ -598,7 +598,7 @@ func dumpmemprof_callback(b *bucket, nstk uintptr, pstk *uintptr, size, allocs,
dumpstr("?")
dumpint(0)
} else {
dumpstr(gofuncname(f))
dumpstr(funcname(f))
if i > 0 && pc > f.entry {
pc--
}