Top Constructors Methods
org.jruby.ir.instructions.boxing

public Class UnboxInstr

extends NOperandResultBaseInstr
Class Inheritance
Known Direct Subclasses
org.jruby.ir.instructions.boxing.UnboxBooleanInstr, org.jruby.ir.instructions.boxing.UnboxFixnumInstr, org.jruby.ir.instructions.boxing.UnboxFloatInstr
Imports
org.jruby.ir.Operation, org.jruby.ir.instructions.Instr, .NOperandResultBaseInstr, org.jruby.ir.operands.Operand, .Variable, org.jruby.ir.transformations.inlining.CloneInfo

Constructor Summary

AccessConstructor and Description
public
UnboxInstr(Operation op, Variable result, Operand value)

Method Summary

Modifier and TypeMethod and Description
public Instr
clone(CloneInfo
This object manages renaming of variables and labels, handles args and return values.
info
)

Implements abstract org.jruby.ir.instructions.Instr.clone.

Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope).

public Operand
Inherited from org.jruby.ir.instructions.NOperandResultBaseInstr:
getOperandssetOperand

Constructor Detail

UnboxInstrback to summary
public UnboxInstr(Operation op, Variable result, Operand value)

Method Detail

cloneback to summary
public Instr clone(CloneInfo info)

Implements abstract org.jruby.ir.instructions.Instr.clone.

Doc from org.jruby.ir.instructions.Instr.clone.

Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode.

Parameters
info:CloneInfo

This object manages renaming of variables and labels, handles args and return values.

Returns:Instr

a new instruction that can be used in the target scope.

Annotations
@Override
getValueback to summary
public Operand getValue()