Commit 0a872058 authored by Iskander Sharipov's avatar Iskander Sharipov Committed by Robert Griesemer

cmd/compile/internal/gc: simplify bool expression

Change-Id: Idcd79788e64947a927af662b6394ac7218e62ba8
Reviewed-on: https://go-review.googlesource.com/135836Reviewed-by: default avatarKeith Randall <khr@golang.org>
Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
parent f082dbfd
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment