public class UnaryNegInst extends UnaryInst
destination, source
Constructor and Description |
---|
UnaryNegInst(java.lang.String destination,
java.lang.String source)
UnaryNegInst constructor
|
Modifier and Type | Method and Description |
---|---|
<ReturnType,ArgumentType> |
accept(TACInstVisitor<ReturnType,ArgumentType> visitor,
ArgumentType o)
Abstract visitor method.
|
void |
setSource(java.lang.String source)
Set the soure operand
|
equals, getDestination, getSource, getString, setDestination
addComment, checkBoolConst, checkConst, checkIntConst, checkLabel, checkStrConst, checkVar, getBinaryOpcode, getComments, getOp, getOpcode, getUnaryOpcode, isBinary, isCall, isIf, isLoad, isParam, isPhi, isReturn, isStore, isUnary, isValidID, removeComments, toString
public UnaryNegInst(java.lang.String destination, java.lang.String source)
destination
- destination variablesource
- source variablepublic void setSource(java.lang.String source)
public <ReturnType,ArgumentType> ReturnType accept(TACInstVisitor<ReturnType,ArgumentType> visitor, ArgumentType o)
TACInst