org.jruby.compiler.ir.instructions
Class COPY_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.COPY_Instr

public class COPY_Instr
extends OneOperandInstr


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

Constructor Detail

COPY_Instr

public COPY_Instr(Variable d,
                  Operand s)
Method Detail

toString

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

simplifyAndGetResult

public Operand simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
Overrides:
simplifyAndGetResult in class IR_Instr


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