aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack1.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-12-28 23:16:32 -0800
committerKeith Randall <khr@golang.org>2014-12-29 15:18:29 +0000
commit0bb8fc66142bae953c0374a292eeab12440af3cb (patch)
treec65ed92ac5add7fa4b8fe09d37f717938f087e83 /src/runtime/stack1.go
parentab0535ae3fb45ba734d47542cc4845f27f708d1b (diff)
downloadgo-0bb8fc66142bae953c0374a292eeab12440af3cb.tar.xz
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>
Diffstat (limited to 'src/runtime/stack1.go')
-rw-r--r--src/runtime/stack1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/stack1.go b/src/runtime/stack1.go
index 6e6569f55e..8b32eb6d16 100644
--- a/src/runtime/stack1.go
+++ b/src/runtime/stack1.go
@@ -393,12 +393,12 @@ func adjustpointers(scanp unsafe.Pointer, cbv *bitvector, adjinfo *adjustinfo, f
// Looks like a junk value in a pointer slot.
// Live analysis wrong?
getg().m.traceback = 2
- print("runtime: bad pointer in frame ", gofuncname(f), " at ", add(scanp, i*ptrSize), ": ", p, "\n")
+ print("runtime: bad pointer in frame ", funcname(f), " at ", add(scanp, i*ptrSize), ": ", p, "\n")
throw("invalid stack pointer")
}
if minp <= up && up < maxp {
if stackDebug >= 3 {
- print("adjust ptr ", p, " ", gofuncname(f), "\n")
+ print("adjust ptr ", p, " ", funcname(f), "\n")
}
*(*unsafe.Pointer)(add(scanp, i*ptrSize)) = unsafe.Pointer(up + delta)
}