aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/type.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-11-02 10:46:58 -0800
committerMatthew Dempsky <mdempsky@google.com>2016-02-22 07:42:37 +0000
commitf28bbb776a050cc3edca2bbe1241d81217a7a251 (patch)
treed2dc7187d70b576b72753042a5b62e88597e3148 /src/runtime/type.go
parentd0c11577b9c6d584959aceddf97266b9cbc336d0 (diff)
downloadgo-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/type.go')
-rw-r--r--src/runtime/type.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/type.go b/src/runtime/type.go
index d5f3bb1ef0..8350976491 100644
--- a/src/runtime/type.go
+++ b/src/runtime/type.go
@@ -60,7 +60,6 @@ type maptype struct {
key *_type
elem *_type
bucket *_type // internal type representing a hash bucket
- hmap *_type // internal type representing a hmap
keysize uint8 // size of key slot
indirectkey bool // store ptr to key instead of key itself
valuesize uint8 // size of value slot