public abstract class OneOperandInstr extends Instr
Constructor and Description |
---|
OneOperandInstr(Operation op,
Variable dest,
Operand argument) |
Modifier and Type | Method and Description |
---|---|
Operand |
getArg() |
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, simplifyAndGetResult
public Operand getArg()
public Operand[] getOperands()
getOperands
in class Instr
public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
Instr
simplifyOperands
in class Instr
Copyright © 2002-2009 JRuby Team. All Rights Reserved.