aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/noder/func.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2021-08-26 15:30:40 -0700
committerMatthew Dempsky <mdempsky@google.com>2021-08-27 00:36:45 +0000
commite7eee5e265440b0ed3b76093ccdfd776facc767a (patch)
treec66e602e40c9dc51cb0970fae0e849202f17baca /src/cmd/compile/internal/noder/func.go
parentf153b6739b30c1e99f8646f2dafc77a92204f10d (diff)
downloadgo-e7eee5e265440b0ed3b76093ccdfd776facc767a.tar.gz
go-e7eee5e265440b0ed3b76093ccdfd776facc767a.zip
cmd/compile: remove ssagen/pgen_test.go
This test was written in 2015, and hasn't had any meaningful changes to it since. However, it's very ad hoc and pokes into internals that it shouldn't, and it keeps getting in the way of more meaningful refactorings. It doesn't even catch bugs; e.g., it didn't catch that cmpstackvarlt wasn't asymmetric (CL 19778), and a bunch of its test cases are bogus because we never actually use it to sort ir.PFUNC nodes (assert added in this CL). The compiler is woefully lacking in unit tests like these, but I strongly feel this test is more of a hinderance than a help at the moment. Change-Id: I3ac7a3e533947aa95f325626c6eec13a43789f9d Reviewed-on: https://go-review.googlesource.com/c/go/+/345478 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/func.go')
0 files changed, 0 insertions, 0 deletions