compiler, runtime: panic on uncomparable map key, even if map is empty
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 15 Jan 2019 20:32:39 +0000 (20:32 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 15 Jan 2019 20:32:39 +0000 (20:32 +0000)
commit6a0c8e77f289a5c2e1b1ad0f2c8a5c5105f599a6
treeed17062ac88ccb7fdf858eb98d80b5880065061a
parenta81a6d58367e63f3c7314eb793002e5feb379428
compiler, runtime: panic on uncomparable map key, even if map is empty

    This ports https://golang.org/cl/155918 from the master repo.

        runtime: panic on uncomparable map key, even if map is empty

        Reorg map flags a bit so we don't need any extra space for the extra flag.

    This is a pre-req for updating libgo to the Go 1.12beta2 release.

    Reviewed-on: https://go-review.googlesource.com/c/157858

From-SVN: r267950
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
libgo/go/reflect/type.go
libgo/go/runtime/map.go
libgo/go/runtime/type.go