commit | 87005025fcd0d7e7908b3aae7062b52cb80eb0f3 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Jan 14 20:50:27 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jan 15 20:31:59 2019 +0000 |
tree | 438b7b940b05d780a64fa8a98846b1da4dc98885 | |
parent | 0d64279c01a37b2579c0c62ca4f2c3e3f81de07c [diff] |
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. Change-Id: I31dc787bb2a29a8d991a9b119eeaa4fea00fad30 Reviewed-on: https://go-review.googlesource.com/c/157858 Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>