org.jruby.compiler.ir.instructions
Class TwoOperandInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.IR_Instr
      extended by org.jruby.compiler.ir.instructions.TwoOperandInstr
Direct Known Subclasses:
ALU_Instr, BRANCH_Instr, EQQ_Instr, RECV_OPT_ARG_Instr

public class TwoOperandInstr
extends IR_Instr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.IR_Instr
_op, _result
 
Constructor Summary
TwoOperandInstr(Operation op, Variable dest, Operand a1, Operand a2)
           
 
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

TwoOperandInstr

public TwoOperandInstr(Operation op,
                       Variable dest,
                       Operand a1,
                       Operand a2)
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.