Package com.ibm.wala.ssa
Class SSABinaryOpInstruction
- java.lang.Object
-
- com.ibm.wala.ssa.SSAInstruction
-
- com.ibm.wala.ssa.SSAAbstractBinaryInstruction
-
- com.ibm.wala.ssa.SSABinaryOpInstruction
-
public abstract class SSABinaryOpInstruction extends SSAAbstractBinaryInstruction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
-
-
Field Summary
-
Fields inherited from class com.ibm.wala.ssa.SSAAbstractBinaryInstruction
result, val1, val2
-
Fields inherited from class com.ibm.wala.ssa.SSAInstruction
iindex, NO_INDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SSABinaryOpInstruction(int iindex, IBinaryOpInstruction.IOperator operator, int result, int val1, int val2, boolean mayBeInteger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBinaryOpInstruction.IOperator
getOperator()
Ugh.boolean
isFallThrough()
boolean
isPEI()
boolean
mayBeIntegerOp()
String
toString(SymbolTable symbolTable)
void
visit(SSAInstruction.IVisitor v)
Apply an IVisitor to this instruction.-
Methods inherited from class com.ibm.wala.ssa.SSAAbstractBinaryInstruction
getDef, getDef, getNumberOfDefs, getNumberOfUses, getUse, hasDef, hashCode
-
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getExceptionTypes, getValueString, toString
-
-
-
-
Constructor Detail
-
SSABinaryOpInstruction
protected SSABinaryOpInstruction(int iindex, IBinaryOpInstruction.IOperator operator, int result, int val1, int val2, boolean mayBeInteger)
-
-
Method Detail
-
toString
public String toString(SymbolTable symbolTable)
- Specified by:
toString
in classSSAInstruction
-
visit
public void visit(SSAInstruction.IVisitor v) throws NullPointerException
Description copied from class:SSAInstruction
Apply an IVisitor to this instruction. We invoke the appropriate IVisitor method according to the type of this instruction.- Specified by:
visit
in classSSAInstruction
- Throws:
NullPointerException
- See Also:
SSAInstruction.visit(IVisitor)
-
getOperator
public IBinaryOpInstruction.IOperator getOperator()
Ugh. clean up shrike operator stuff.
-
isPEI
public boolean isPEI()
- Overrides:
isPEI
in classSSAInstruction
- Returns:
- true iff this instruction may throw an exception.
-
isFallThrough
public boolean isFallThrough()
- Specified by:
isFallThrough
in classSSAInstruction
- Returns:
- true iff this instruction may fall through to the next
-
mayBeIntegerOp
public boolean mayBeIntegerOp()
-
-