diff options
author | Keith Randall <khr@golang.org> | 2014-09-09 14:32:53 -0700 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2014-09-09 14:32:53 -0700 |
commit | c6cd0b3047aa3cb22482c12701b31a817df85316 (patch) | |
tree | 81b0aef6eb941160731ba278a9a554adce01ba40 /src/runtime/mgc0.go | |
parent | c13a6229b6de5d3edf370d5e9c7f847cd2be05c9 (diff) | |
download | go-c6cd0b3047aa3cb22482c12701b31a817df85316.tar.gz |
runtime: more cleanups
Move timenow thunk into time.s
Move declarations for generic c/asm services into stubs.go
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/137360043
Diffstat (limited to 'src/runtime/mgc0.go')
-rw-r--r-- | src/runtime/mgc0.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mgc0.go b/src/runtime/mgc0.go index 0984fc58d..ec5edb024 100644 --- a/src/runtime/mgc0.go +++ b/src/runtime/mgc0.go @@ -28,8 +28,6 @@ func gc_notype_ptr(ret *interface{}) { *ret = x } -func timenow() (sec int64, nsec int32) - func gc_unixnanotime(now *int64) { sec, nsec := timenow() *now = sec*1e9 + int64(nsec) |