public abstract class TwoOperandInstr extends Instr
| Constructor and Description |
|---|
TwoOperandInstr(Operation op,
Variable destination,
Operand a1,
Operand a2) |
| Modifier and Type | Method and Description |
|---|---|
Operand |
getOperand1() |
Operand |
getOperand2() |
Operand[] |
getOperands() |
void |
simplifyOperands(java.util.Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs
If the value map provides a value for any of the instruction's operands
this method is expected to replace the original operands with the simplified values.
|
java.lang.String |
toString() |
canRaiseException, cloneForInlining, getOperation, getResult, getUsedVariables, hasSideEffects, interpret, isDead, markDead, simplifyAndGetResultpublic Operand[] getOperands()
getOperands in class Instrpublic Operand getOperand1()
public Operand getOperand2()
public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
InstrsimplifyOperands in class InstrCopyright © 2002-2009 JRuby Team. All Rights Reserved.