]> Cypherpunks repositories - gostls13.git/commit
runtime: delete dead code called from C.
authorRuss Cox <rsc@golang.org>
Wed, 14 Jan 2015 21:41:39 +0000 (16:41 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 14 Jan 2015 22:20:44 +0000 (22:20 +0000)
commit6482fe6c65f105d2177b6278c97d464bc0976ca3
treec513ae5a92ce5f7330f4ec66f407a3e2253f883f
parentf6d0054e718817df636a1281a2f8de04ac663ee8
runtime: delete dead code called from C.

printf, vprintf, snprintf, gc_m_ptr, gc_g_ptr, gc_itab_ptr, gc_unixnanotime.

These were called from C.
There is no more C.

Now that vprintf is gone, delete roundup, which is unsafe (see CL 2814).

Change-Id: If8a7b727d497ffa13165c0d3a1ed62abc18f008c
Reviewed-on: https://go-review.googlesource.com/2824
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgc.go
src/runtime/mgc0.go
src/runtime/print1.go
src/runtime/stubs.go