Apply suggestions from code review

Co-Authored-By: Dave Bartolomeo <dbartol@github.com>
This commit is contained in:
Geoffrey White
2020-04-22 09:09:16 +01:00
committed by GitHub
parent a7c22db989
commit 2e392516c2

View File

@@ -126,7 +126,7 @@ private class UnsignedBitwiseAndExpr extends BitwiseAndExpr {
UnsignedBitwiseAndExpr() {
(
getLeftOperand().getFullyConverted().getType().getUnderlyingType().(IntegralType).isUnsigned() or
getLeftOperand().getValue().toInt() >= 0
getLeftOperand().getFullyConverted().getValue().toInt() >= 0
) and
(
getRightOperand()
@@ -135,7 +135,7 @@ private class UnsignedBitwiseAndExpr extends BitwiseAndExpr {
.getUnderlyingType()
.(IntegralType)
.isUnsigned() or
getRightOperand().getValue().toInt() >= 0
getRightOperand().getFullyConverted().getValue().toInt() >= 0
)
}
}