|
||||||||||
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
org.jruby.compiler.ir.instructions.UNBOX_Instr
public class UNBOX_Instr
Field Summary |
---|
Fields inherited from class org.jruby.compiler.ir.instructions.Instr |
---|
operation, result |
Constructor Summary | |
---|---|
UNBOX_Instr(Variable dst,
Operand v)
|
Method Summary | |
---|---|
Instr |
cloneForInlining(InlinerInfo ii)
Clone the instruction for inlining -- this will rename all variables (including local variables and self!) and replace RECV_ARG and RETURN instructions to regular copy instructions, |
Operand |
simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs the result of this instruction. |
java.lang.String |
toString()
|
Methods inherited from class org.jruby.compiler.ir.instructions.OneOperandInstr |
---|
getArg, getOperands, simplifyOperands |
Methods inherited from class org.jruby.compiler.ir.instructions.Instr |
---|
canRaiseException, getOperation, getResult, getUsedVariables, hasSideEffects, interpret, isDead, markDead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UNBOX_Instr(Variable dst, Operand v)
Method Detail |
---|
public java.lang.String toString()
toString
in class OneOperandInstr
public Operand simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
Instr
simplifyAndGetResult
in class Instr
valueMap
- Mapping from operands to their simplified valuespublic Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |