org.jruby.compiler.ir.instructions
Class OneOperandInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.IR_Instr
      extended by org.jruby.compiler.ir.instructions.OneOperandInstr
Direct Known Subclasses:
BREAK_Instr, CASE_Instr, CLOSURE_RETURN_Instr, COPY_Instr, GET_ARRAY_Instr, IS_TRUE_Instr, RETRY_Instr, RETURN_Instr

public class OneOperandInstr
extends IR_Instr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.IR_Instr
_op, _result
 
Constructor Summary
OneOperandInstr(Operation op, Variable dest, Operand arg)
           
 
Method Summary
 Operand[] getOperands()
           
 void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
           
 java.lang.String toString()
           
 
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

OneOperandInstr

public OneOperandInstr(Operation op,
                       Variable dest,
                       Operand arg)
Method Detail

toString

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

getOperands

public Operand[] getOperands()
Specified by:
getOperands in class IR_Instr

simplifyOperands

public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
Specified by:
simplifyOperands in class IR_Instr


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