diff options
| author | Keith Randall <khr@golang.org> | 2020-06-15 11:08:36 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2020-08-27 23:25:58 +0000 |
| commit | 42fd1306cea2dc2ff91bd5208d9593721ab5a30f (patch) | |
| tree | ae235f8895e58dfbdcb7a86e489160fa988a2dff /src/testing | |
| parent | 4f76fe86756841befb6574ce4bf04113d14389d4 (diff) | |
| download | go-42fd1306cea2dc2ff91bd5208d9593721ab5a30f.tar.xz | |
cmd/compile: clean up equality generation
We're using sort.SliceStable, so no need to keep track of indexes as well.
Use a more robust test for whether a node is a call.
Add a test that we're actually reordering comparisons. This test fails
without the alg.go changes in this CL because eqstring uses OCALLFUNC
instead of OCALL for its data comparisons.
Update #8606
Change-Id: Ieeec33434c72e3aa328deb11cc415cfda05632e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/237921
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
