• Martin Möhrmann's avatar
    runtime: remove hmap field from maptypes · 4ebc67d3
    Martin Möhrmann authored
    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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    4ebc67d3
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...