aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic.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/panic.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/panic.go')
-rw-r--r--src/runtime/panic.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index ff1ef2a85e..2e3ed3f5e8 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -130,7 +130,7 @@ func testdefersizes() {
if defersc >= uintptr(len(m)) {
break
}
- siz := goroundupsize(totaldefersize(i))
+ siz := roundupsize(totaldefersize(i))
if m[defersc] < 0 {
m[defersc] = int32(siz)
continue
@@ -173,7 +173,7 @@ func newdefer(siz int32) *_defer {
}
if d == nil {
// Allocate new defer+args.
- total := goroundupsize(totaldefersize(uintptr(siz)))
+ total := roundupsize(totaldefersize(uintptr(siz)))
d = (*_defer)(mallocgc(total, deferType, 0))
}
d.siz = siz