diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2015-03-31 09:19:10 -0700 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2015-04-02 02:37:59 +0000 |
commit | ad3600945aaf168ba12ae82c9f66c3c60836ba87 (patch) | |
tree | 0389d64b3897004375c03c169398712414ae405f /src/runtime/runtime.go | |
parent | 102b80652f7876e9b78b6a3c0c69b530666b52a2 (diff) | |
download | go-ad3600945aaf168ba12ae82c9f66c3c60836ba87.tar.gz go-ad3600945aaf168ba12ae82c9f66c3c60836ba87.zip |
runtime: auto-generate duff routines
This makes it easier to experiment with alternative implementations.
While we're here, update the comments.
No functional changes. Passes toolstash -cmp.
Change-Id: I428535754908f0fdd7cc36c214ddb6e1e60f376e
Reviewed-on: https://go-review.googlesource.com/8310
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r-- | src/runtime/runtime.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go index 5f0ca02c0f..2387d9ae8b 100644 --- a/src/runtime/runtime.go +++ b/src/runtime/runtime.go @@ -7,6 +7,7 @@ package runtime import _ "unsafe" // for go:linkname //go:generate go run wincallback.go +//go:generate go run mkduff.go var ticks struct { lock mutex |