]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix.gc.Type.cmp for map.notBucket cmp map.Bucket
authorDavid Chase <drchase@google.com>
Thu, 28 Apr 2016 14:46:08 +0000 (10:46 -0400)
committerDavid Chase <drchase@google.com>
Thu, 28 Apr 2016 15:36:34 +0000 (15:36 +0000)
commit5ec87ba554c2a83cdc188724f815e53fede91b66
treef70f1d272689d6340b7e11e7162b9dcb3cb19b7b
parent9faf5cdf9d1f9050a03ae3d420768c846e54646d
cmd/compile: fix.gc.Type.cmp for map.notBucket cmp map.Bucket

Comparison of certain map types could fail to be antisymmetric.
This corrects that.

Change-Id: I88c6256053ce29950ced4ba4d538e241ee8591fe
Reviewed-on: https://go-review.googlesource.com/22552
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: jcd . <jcd@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/type.go