compiler, runtime: remove hmap field from maptypes
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Aug 2018 00:20:25 +0000 (00:20 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Aug 2018 00:20:25 +0000 (00:20 +0000)
commit347462bfeecb8db177df72dc5b3c6f2eb263c452
tree258b35cc7e9d07a9c277d1923316c1720f93d862
parentd16c446e0b24e78a5025cf88531d7967615eefd6
compiler, runtime: remove hmap field from maptypes

    This is the gofrontend version of https://golang.org/cl/91796.

    This is part of that CL, just the compiler change and required runtime
    changes, in preparation for updating libgo to 1.11.

    Relevant part of original CL description:

        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.

    Reviewed-on: https://go-review.googlesource.com/130976

From-SVN: r263941
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/go/reflect/type.go
libgo/go/runtime/hashmap.go
libgo/go/runtime/type.go