mirror of
https://github.com/golang/go
synced 2024-11-12 09:50:21 -07:00
cmd/compile/internal/gc: simplify bool expression
Change-Id: Idcd79788e64947a927af662b6394ac7218e62ba8 Reviewed-on: https://go-review.googlesource.com/135836 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
f082dbfd4f
commit
0a87205809
@ -1418,7 +1418,7 @@ opswitch:
|
||||
// Maximum key and value size is 128 bytes, larger objects
|
||||
// are stored with an indirection. So max bucket size is 2048+eps.
|
||||
if !Isconst(hint, CTINT) ||
|
||||
!(hint.Val().U.(*Mpint).CmpInt64(BUCKETSIZE) > 0) {
|
||||
hint.Val().U.(*Mpint).CmpInt64(BUCKETSIZE) <= 0 {
|
||||
// var bv bmap
|
||||
bv := temp(bmap(t))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user