]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: in prove, give a different name to each poset
authorGiovanni Bajo <rasky@develer.com>
Thu, 19 Sep 2019 22:12:15 +0000 (00:12 +0200)
committerGiovanni Bajo <rasky@develer.com>
Sun, 20 Oct 2019 15:43:25 +0000 (15:43 +0000)
commitb16463c91252c99bbfe1006479bdfa3b9164445b
tree1110500bacfbd0cd4060fabfa7172760b968182c
parente4c3925925d9bb93554cc60a29a4d728bb969296
cmd/compile: in prove, give a different name to each poset

Instead of using a two-slot array and having to remember which
index is the signed poset, and which is the unsigned one, just
use two different variables.

Change-Id: Ic7f7676436c51bf43a182e999a926f8b7f69434b
Reviewed-on: https://go-review.googlesource.com/c/go/+/196678
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/prove.go