]> Cypherpunks repositories - gostls13.git/commit
runtime: rename gothrow to throw
authorKeith Randall <khr@golang.org>
Sun, 28 Dec 2014 04:58:00 +0000 (20:58 -0800)
committerKeith Randall <khr@golang.org>
Sun, 28 Dec 2014 06:16:16 +0000 (06:16 +0000)
commitb2a950bb7343a46ff3edd8502fe2f02fc051a308
tree97511001e7aa590d22b1b0d8c962467319180681
parentddef2d27fec52c271ee72911e60b07f5f62cf3cb
runtime: rename gothrow to throw

Rename "gothrow" to "throw" now that the C version of "throw"
is no longer needed.

This change is purely mechanical except in panic.go where the
old version of "throw" has been deleted.

sed -i "" 's/[[:<:]]gothrow[[:>:]]/throw/g' runtime/*.go

Change-Id: Icf0752299c35958b92870a97111c67bcd9159dc3
Reviewed-on: https://go-review.googlesource.com/2150
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
66 files changed:
src/runtime/cgocall.go
src/runtime/chan.go
src/runtime/env_posix.go
src/runtime/hashmap.go
src/runtime/heapdump.go
src/runtime/iface.go
src/runtime/lfstack.go
src/runtime/lock_futex.go
src/runtime/lock_sema.go
src/runtime/malloc.go
src/runtime/malloc1.go
src/runtime/mcache.go
src/runtime/mcentral.go
src/runtime/mem.go
src/runtime/mem_bsd.go
src/runtime/mem_darwin.go
src/runtime/mem_linux.go
src/runtime/mem_windows.go
src/runtime/mfixalloc.go
src/runtime/mgc.go
src/runtime/mgc0.go
src/runtime/mheap.go
src/runtime/mprof.go
src/runtime/msize.go
src/runtime/netpoll.go
src/runtime/netpoll_epoll.go
src/runtime/netpoll_kqueue.go
src/runtime/netpoll_solaris.go
src/runtime/netpoll_windows.go
src/runtime/os1_darwin.go
src/runtime/os1_dragonfly.go
src/runtime/os1_freebsd.go
src/runtime/os1_linux.go
src/runtime/os1_nacl.go
src/runtime/os1_netbsd.go
src/runtime/os1_openbsd.go
src/runtime/os1_plan9.go
src/runtime/os1_windows.go
src/runtime/os3_solaris.go
src/runtime/os_nacl.go
src/runtime/os_plan9.go
src/runtime/os_windows.go
src/runtime/panic.go
src/runtime/panic1.go
src/runtime/parfor.go
src/runtime/proc.go
src/runtime/proc1.go
src/runtime/race0.go
src/runtime/race1.go
src/runtime/runtime1.go
src/runtime/select.go
src/runtime/sema.go
src/runtime/signal1_unix.go
src/runtime/sigpanic_unix.go
src/runtime/sigqueue.go
src/runtime/softfloat_arm.go
src/runtime/stack1.go
src/runtime/stack_test.go
src/runtime/string.go
src/runtime/stubs.go
src/runtime/symtab.go
src/runtime/sys_arm.go
src/runtime/sys_ppc64x.go
src/runtime/sys_x86.go
src/runtime/syscall_windows.go
src/runtime/traceback.go