org.jruby.compiler.ir.instructions
Class CASE_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.CASE_Instr

public class CASE_Instr
extends OneOperandInstr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.IR_Instr
_op, _result
 
Constructor Summary
CASE_Instr(Variable result, Operand arg, Label endLabel)
           
 
Method Summary
 void setElse(Label elseLabel)
           
 void setLabels(java.util.List<Label> labels)
           
 void setVariables(java.util.List<Operand> variables)
           
 void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.instructions.OneOperandInstr
getOperands
 
Methods inherited from class org.jruby.compiler.ir.instructions.IR_Instr
getResult, getUsedVariables, hasSideEffects, isDead, markDead, simplifyAndGetResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CASE_Instr

public CASE_Instr(Variable result,
                  Operand arg,
                  Label endLabel)
Method Detail

setLabels

public void setLabels(java.util.List<Label> labels)

setVariables

public void setVariables(java.util.List<Operand> variables)

setElse

public void setElse(Label elseLabel)

toString

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

simplifyOperands

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


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