1
0
mirror of https://github.com/golang/go synced 2024-11-08 07:56:16 -07:00
go/src/cmd
Martin Möhrmann 4ebc67d334 runtime: remove hmap field from maptypes
The hmap field in the maptype is only used by the runtime to check the sizes of
the hmap structure created by the compiler and runtime agree.

Comments are already present about the hmap structure definitions in the
compiler and runtime needing to be in sync.

Add a test that checks the runtimes hmap size is as expected to detect
when the compilers and runtimes hmap sizes diverge instead of checking
this at runtime when a map is created.

Change-Id: I974945ebfdb66883a896386a17bbcae62a18cf2a
Reviewed-on: https://go-review.googlesource.com/91796
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2018-05-06 05:46:06 +00:00
..
addr2line
api
asm cmd/compile: add wasm architecture 2018-05-04 17:56:12 +00:00
buildid
cgo cmd/cgo: visit cgo type inside ellipsis node 2018-05-01 00:44:48 +00:00
compile runtime: remove hmap field from maptypes 2018-05-06 05:46:06 +00:00
cover all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
dist cmd/compile: add wasm architecture 2018-05-04 17:56:12 +00:00
doc cmd/doc: skip directories like other go tools 2018-05-01 05:02:43 +00:00
fix all: restore changes from faulty merge/revert 2018-02-12 20:13:59 +00:00
go cmd/go: don't give an error for an attempt to recreate a symlink 2018-05-05 00:54:52 +00:00
gofmt
internal cmd/compile: add wasm architecture 2018-05-04 17:56:12 +00:00
link runtime: remove hmap field from maptypes 2018-05-06 05:46:06 +00:00
nm
objdump
pack cmd: remove some unused parameters 2018-04-02 15:51:31 +00:00
pprof go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
test2json cmd/test2json: document missing "skip" action 2018-03-24 18:37:22 +00:00
trace cmd/trace: use different colors for tasks 2018-04-29 18:14:22 +00:00
vendor all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
vet cmd/vet: %T is a formatting directive too 2018-05-04 23:25:17 +00:00