|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.compiler.ir.instructions.Instr
org.jruby.compiler.ir.instructions.OneOperandInstr
public abstract class OneOperandInstr
Field Summary |
---|
Fields inherited from class org.jruby.compiler.ir.instructions.Instr |
---|
operation, result |
Constructor Summary | |
---|---|
OneOperandInstr(Operation op,
Variable dest,
Operand argument)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.jruby.compiler.ir.instructions.Instr |
---|
canRaiseException, cloneForInlining, getOperation, getResult, getUsedVariables, hasSideEffects, interpret, isDead, markDead, simplifyAndGetResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OneOperandInstr(Operation op, Variable dest, Operand argument)
Method Detail |
---|
public java.lang.String toString()
toString
in class Instr
public Operand getArg()
public Operand[] getOperands()
getOperands
in class Instr
public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
Instr
simplifyOperands
in class Instr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |