Package org.teavm.model.instructions
Class BinaryInstruction
- java.lang.Object
-
- org.teavm.model.Instruction
-
- org.teavm.model.instructions.BinaryInstruction
-
public class BinaryInstruction extends Instruction
-
-
Constructor Summary
Constructors Constructor Description BinaryInstruction(BinaryOperation operation, NumericOperandType operandType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(InstructionVisitor visitor)VariablegetFirstOperand()NumericOperandTypegetOperandType()BinaryOperationgetOperation()VariablegetReceiver()VariablegetSecondOperand()voidsetFirstOperand(Variable firstOperand)voidsetReceiver(Variable receiver)voidsetSecondOperand(Variable secondOperand)-
Methods inherited from class org.teavm.model.Instruction
delete, getBasicBlock, getLocation, getNext, getPrevious, getProgram, insertNext, insertNextAll, insertPrevious, insertPreviousAll, replace, setLocation
-
-
-
-
Constructor Detail
-
BinaryInstruction
public BinaryInstruction(BinaryOperation operation, NumericOperandType operandType)
-
-
Method Detail
-
getReceiver
public Variable getReceiver()
-
setReceiver
public void setReceiver(Variable receiver)
-
getFirstOperand
public Variable getFirstOperand()
-
setFirstOperand
public void setFirstOperand(Variable firstOperand)
-
getSecondOperand
public Variable getSecondOperand()
-
setSecondOperand
public void setSecondOperand(Variable secondOperand)
-
getOperandType
public NumericOperandType getOperandType()
-
getOperation
public BinaryOperation getOperation()
-
acceptVisitor
public void acceptVisitor(InstructionVisitor visitor)
- Specified by:
acceptVisitorin classInstruction
-
-