org.jruby.compiler.ir.instructions
Class GET_ARRAY_Instr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.IR_Instr
      extended by org.jruby.compiler.ir.instructions.OneOperandInstr
          extended by org.jruby.compiler.ir.instructions.GET_ARRAY_Instr

public class GET_ARRAY_Instr
extends OneOperandInstr


Field Summary
 boolean _all
           
 int _index
           
 
Fields inherited from class org.jruby.compiler.ir.instructions.IR_Instr
_op, _result
 
Constructor Summary
GET_ARRAY_Instr(Variable dest, Operand array, int index, boolean getRestOfArray)
           
 
Method Summary
 Operand simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.instructions.OneOperandInstr
getOperands, simplifyOperands
 
Methods inherited from class org.jruby.compiler.ir.instructions.IR_Instr
getResult, getUsedVariables, hasSideEffects, isDead, markDead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_index

public final int _index

_all

public final boolean _all
Constructor Detail

GET_ARRAY_Instr

public GET_ARRAY_Instr(Variable dest,
                       Operand array,
                       int index,
                       boolean getRestOfArray)
Method Detail

toString

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

simplifyAndGetResult

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


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