From f28bbb776a050cc3edca2bbe1241d81217a7a251 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 2 Nov 2015 10:46:58 -0800 Subject: 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 --- src/runtime/type.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/runtime/type.go') 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 -- cgit v1.3-5-g9baa