org.jruby.compiler.ir.instructions
Class IR_Instr
java.lang.Object
org.jruby.compiler.ir.instructions.IR_Instr
- Direct Known Subclasses:
- ASSERT_METHOD_VERSION_Instr, GET_Instr, MultiOperandInstr, NoOperandInstr, OneOperandInstr, PUT_Instr, TwoOperandInstr
public abstract class IR_Instr
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_op
public final Operation _op
_result
public final Variable _result
IR_Instr
public IR_Instr(Operation op)
IR_Instr
public IR_Instr(Operation op,
Variable res)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getResult
public Variable getResult()
hasSideEffects
public boolean hasSideEffects()
markDead
public void markDead()
isDead
public boolean isDead()
getOperands
public abstract Operand[] getOperands()
getUsedVariables
public java.util.List<Variable> getUsedVariables()
simplifyOperands
public abstract void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
simplifyAndGetResult
public Operand simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.