org.jruby.compiler.ir.instructions
Class NoOperandInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.IR_Instr
      extended by org.jruby.compiler.ir.instructions.NoOperandInstr
Direct Known Subclasses:
AttributeInstr, DECLARE_LOCAL_TYPE_Instr, DEFINE_CLASS_METHOD_Instr, DEFINE_INSTANCE_METHOD_Instr, GuardInstr, JUMP_Instr, LABEL_Instr, RECV_ARG_Instr, RECV_CLOSURE_ARG_Instr, RECV_CLOSURE_Instr, THREAD_POLL_Instr

public abstract class NoOperandInstr
extends IR_Instr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.IR_Instr
_op, _result
 
Constructor Summary
NoOperandInstr(Operation op)
           
NoOperandInstr(Operation op, Variable dest)
           
 
Method Summary
 Operand[] getOperands()
           
 void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
           
 
Methods inherited from class org.jruby.compiler.ir.instructions.IR_Instr
getResult, getUsedVariables, hasSideEffects, isDead, markDead, simplifyAndGetResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoOperandInstr

public NoOperandInstr(Operation op,
                      Variable dest)

NoOperandInstr

public NoOperandInstr(Operation op)
Method Detail

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.