Package org.teavm.model.instructions
Class NegateInstruction
- java.lang.Object
-
- org.teavm.model.Instruction
-
- org.teavm.model.instructions.NegateInstruction
-
public class NegateInstruction extends Instruction
-
-
Constructor Summary
Constructors Constructor Description NegateInstruction(NumericOperandType operandType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(InstructionVisitor visitor)VariablegetOperand()NumericOperandTypegetOperandType()VariablegetReceiver()voidsetOperand(Variable operand)voidsetReceiver(Variable receiver)-
Methods inherited from class org.teavm.model.Instruction
delete, getBasicBlock, getLocation, getNext, getPrevious, getProgram, insertNext, insertNextAll, insertPrevious, insertPreviousAll, replace, setLocation
-
-
-
-
Constructor Detail
-
NegateInstruction
public NegateInstruction(NumericOperandType operandType)
-
-
Method Detail
-
getOperand
public Variable getOperand()
-
setOperand
public void setOperand(Variable operand)
-
getReceiver
public Variable getReceiver()
-
setReceiver
public void setReceiver(Variable receiver)
-
getOperandType
public NumericOperandType getOperandType()
-
acceptVisitor
public void acceptVisitor(InstructionVisitor visitor)
- Specified by:
acceptVisitorin classInstruction
-
-