public class BinaryInstruction extends Instruction
| Constructor and Description |
|---|
BinaryInstruction(BinaryOperation operation,
NumericOperandType operandType) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(InstructionVisitor visitor) |
Variable |
getFirstOperand() |
NumericOperandType |
getOperandType() |
BinaryOperation |
getOperation() |
Variable |
getReceiver() |
Variable |
getSecondOperand() |
void |
setFirstOperand(Variable firstOperand) |
void |
setReceiver(Variable receiver) |
void |
setSecondOperand(Variable secondOperand) |
getBasicBlock, getLocation, getProgram, setLocationpublic BinaryInstruction(BinaryOperation operation, NumericOperandType operandType)
public Variable getReceiver()
public void setReceiver(Variable receiver)
public Variable getFirstOperand()
public void setFirstOperand(Variable firstOperand)
public Variable getSecondOperand()
public void setSecondOperand(Variable secondOperand)
public NumericOperandType getOperandType()
public BinaryOperation getOperation()
public void acceptVisitor(InstructionVisitor visitor)
acceptVisitor in class InstructionCopyright © 2015. All rights reserved.