diff options
| author | Keith Randall <khr@golang.org> | 2020-09-16 10:13:37 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2020-10-28 04:33:41 +0000 |
| commit | c95bd2e6a99ab06efadb265bf42bbaf8d964904f (patch) | |
| tree | 64294aace19756c95dd4b3f683153f6d6c2852ab /src/database/sql/sql_test.go | |
| parent | 02335cf4131f4eb1869f50f906e993676f7f414a (diff) | |
| download | go-c95bd2e6a99ab06efadb265bf42bbaf8d964904f.tar.xz | |
cmd/compile: optimize generated struct/array equality code
Use a standard "not-equal" label that we can jump to when we
detect that the arguments are not equal. This prevents the
recombination that was noticed in #39428.
Fixes #39428
Change-Id: Ib7c6b3539f4f6046043fd7148f940fcdcab70427
Reviewed-on: https://go-review.googlesource.com/c/go/+/255317
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
