MCPcopy Create free account
hub / github.com/LFYSec/MScan / validate

Method validate

src/main/java/pascal/taie/ir/exp/ComparisonExp.java:59–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 @Override
60 protected void validate() {
61 Type v1type = operand1.getType();
62 assert v1type.equals(operand2.getType());
63 assert v1type.equals(PrimitiveType.LONG) ||
64 v1type.equals(PrimitiveType.FLOAT) ||
65 v1type.equals(PrimitiveType.DOUBLE);
66 }
67
68 @Override
69 public Op getOperator() {

Callers

nothing calls this directly

Calls 2

getTypeMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected