]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use isGenericIntConst() in prove
authorJakub Ciolek <jakub@ciolek.dev>
Tue, 14 Jan 2025 20:29:50 +0000 (21:29 +0100)
committerKeith Randall <khr@golang.org>
Tue, 4 Feb 2025 17:39:40 +0000 (09:39 -0800)
commitbdc2d856a872f42705b3a7045c3420031efa4af7
tree0166acf4a6367838d02aaf1bf7a3f1c8251a8eda
parent3981b446ddba60108572606a74bc27bff1936d9e
cmd/compile: use isGenericIntConst() in prove

Use the existing Value method to make it a bit shorter.

Change-Id: I47c4328b5241ab48b3490a04a3d93d4428f7b88c
Reviewed-on: https://go-review.googlesource.com/c/go/+/642735
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/ssa/prove.go