diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2015-11-02 10:46:58 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2016-02-22 07:42:37 +0000 |
| commit | f28bbb776a050cc3edca2bbe1241d81217a7a251 (patch) | |
| tree | d2dc7187d70b576b72753042a5b62e88597e3148 /src/runtime/runtime2.go | |
| parent | d0c11577b9c6d584959aceddf97266b9cbc336d0 (diff) | |
| download | go-f28bbb776a050cc3edca2bbe1241d81217a7a251.tar.xz | |
cmd/compile: move hiter, hmap, and scase definitions into builtin.go
Also eliminates per-maptype hiter and hmap types, since they're not
really needed anyway. Update packages reflect and runtime
accordingly.
Reduces golang.org/x/tools/cmd/godoc's text segment by ~170kB:
text data bss dec hex filename
13085702 140640 151520 13377862 cc2146 godoc.before
12915382 140640 151520 13207542 c987f6 godoc.after
Updates #6853.
Change-Id: I948b2bc1f22d477c1756204996b4e3e1fb568d81
Reviewed-on: https://go-review.googlesource.com/16610
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 917fe89d38..379fe2678b 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -160,8 +160,6 @@ type gobuf struct { bp uintptr // for GOEXPERIMENT=framepointer } -// Known to compiler. -// Changes here must also be made in src/cmd/internal/gc/select.go's selecttype. type sudog struct { g *g selectdone *uint32 |
