Package pascal.taie.ir.exp
Class ComparisonExp
java.lang.Object
pascal.taie.ir.exp.ComparisonExp
- All Implemented Interfaces:
Serializable
,BinaryExp
,Exp
,RValue
Representation of comparison expression, e.g., cmp.
- See Also:
-
Field Details
-
operand1
-
operand2
-
-
Constructor Details
-
ComparisonExp
-
-
Method Details
-
validate
protected void validate()Validates type correctness of the two values of this expression. -
getOperator
- Returns:
- the operator.
-
getType
- Returns:
- type of this expression.
-
accept
-
getOperand1
- Specified by:
getOperand1
in interfaceBinaryExp
- Returns:
- the first operand.
-
getOperand2
- Specified by:
getOperand2
in interfaceBinaryExp
- Returns:
- the second operand.
-
getUses
-
toString
-