org.jruby.compiler.ir.operands
Class BoxedValue

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.BoxedValue

public class BoxedValue
extends Operand


Field Summary
 Operand _value
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
BoxedValue(Operand v)
           
 
Method Summary
 void addUsedVariables(java.util.List<Variable> l)
          Append the list of variables used in this operand to the input list
 Operand cloneForInlining(InlinerInfo ii)
           
 Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
           
 boolean isConstant()
           
 boolean isNonAtomicValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
fetchCompileTimeArrayElement, getTargetClass, getValue, retrieve, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_value

public final Operand _value
Constructor Detail

BoxedValue

public BoxedValue(Operand v)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isConstant

public boolean isConstant()
Overrides:
isConstant in class Operand

isNonAtomicValue

public boolean isNonAtomicValue()
Overrides:
isNonAtomicValue in class Operand

getSimplifiedOperand

public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
Overrides:
getSimplifiedOperand in class Operand

addUsedVariables

public void addUsedVariables(java.util.List<Variable> l)
Description copied from class: Operand
Append the list of variables used in this operand to the input list

Overrides:
addUsedVariables in class Operand

cloneForInlining

public Operand cloneForInlining(InlinerInfo ii)
Overrides:
cloneForInlining in class Operand


Copyright © 2002-2009 JRuby Team. All Rights Reserved.