mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix isCompareOp()
This commit is contained in:
parent
827208d1d6
commit
8fbe994075
@ -267,7 +267,7 @@ public:
|
||||
static bool isCommutativeOp(Value op) { return op == BitOr || op == BitXor || op == BitAnd ||
|
||||
op == Add || op == Mul || op == Equal || op == NotEqual; }
|
||||
static bool isArithmeticOp(Value op) { return Add <= op && op <= Exp; }
|
||||
static bool isCompareOp(Value op) { return Equal <= op && op <= In; }
|
||||
static bool isCompareOp(Value op) { return Equal <= op && op <= GreaterThanOrEqual; }
|
||||
|
||||
static Value AssignmentToBinaryOp(Value op)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user