aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/deadcode
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-02-04 09:42:48 -0500
committerBryan C. Mills <bcmills@google.com>2021-02-19 01:19:01 +0000
commit4da0188c6c1ec83db2a3659af8e4eaace155ab80 (patch)
treec4ce88e06f2c7312cd4a7633b00611f27b407451 /src/cmd/compile/internal/deadcode
parent5f2e24efb3c7e021308d15a26d93e5a7aa3c05f0 (diff)
downloadgo-4da0188c6c1ec83db2a3659af8e4eaace155ab80.tar.xz
cmd/go/internal/modget: split resolveCandidates into two methods
It turns out that the existing call sites of the resolveCandidates method pass only *either* a slice of queries or a slice of upgrades (never both), and the behaviors triggered by the two parameters don't overlap much at all. To clarify the two different operations, split them into two separate methods. For #36460 Change-Id: I64651637734fd44fea68740a3cdfbacfb73c19b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/289697 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/cmd/compile/internal/deadcode')
0 files changed, 0 insertions, 0 deletions