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 protectedSSABinaryOpInstruction(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.IOperatorgetOperator()Ugh.booleanisFallThrough()booleanisPEI()booleanmayBeIntegerOp()StringtoString(SymbolTable symbolTable)voidvisit(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:
toStringin classSSAInstruction
-
visit
public void visit(SSAInstruction.IVisitor v) throws NullPointerException
Description copied from class:SSAInstructionApply an IVisitor to this instruction. We invoke the appropriate IVisitor method according to the type of this instruction.- Specified by:
visitin classSSAInstruction- Throws:
NullPointerException- See Also:
SSAInstruction.visit(IVisitor)
-
getOperator
public IBinaryOpInstruction.IOperator getOperator()
Ugh. clean up shrike operator stuff.
-
isPEI
public boolean isPEI()
- Overrides:
isPEIin classSSAInstruction- Returns:
- true iff this instruction may throw an exception.
-
isFallThrough
public boolean isFallThrough()
- Specified by:
isFallThroughin classSSAInstruction- Returns:
- true iff this instruction may fall through to the next
-
mayBeIntegerOp
public boolean mayBeIntegerOp()
-
-