org.jruby.compiler.ir.instructions
Class MODULE_VERSION_GUARD_Instr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.Instr
      extended by org.jruby.compiler.ir.instructions.NoOperandInstr
          extended by org.jruby.compiler.ir.instructions.GuardInstr
              extended by org.jruby.compiler.ir.instructions.MODULE_VERSION_GUARD_Instr

public class MODULE_VERSION_GUARD_Instr
extends GuardInstr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.Instr
operation, result
 
Constructor Summary
MODULE_VERSION_GUARD_Instr(IRModule m, CodeVersion v, Label failurePathLabel)
           
 
Method Summary
 Instr cloneForInlining(InlinerInfo ii)
          Clone the instruction for inlining -- this will rename all variables (including local variables and self!) and replace RECV_ARG and RETURN instructions to regular copy instructions,
 
Methods inherited from class org.jruby.compiler.ir.instructions.NoOperandInstr
getOperands, simplifyOperands
 
Methods inherited from class org.jruby.compiler.ir.instructions.Instr
canRaiseException, getOperation, getResult, getUsedVariables, hasSideEffects, interpret, isDead, markDead, simplifyAndGetResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MODULE_VERSION_GUARD_Instr

public MODULE_VERSION_GUARD_Instr(IRModule m,
                                  CodeVersion v,
                                  Label failurePathLabel)
Method Detail

cloneForInlining

public Instr cloneForInlining(InlinerInfo ii)
Description copied from class: Instr
Clone the instruction for inlining -- this will rename all variables (including local variables and self!) and replace RECV_ARG and RETURN instructions to regular copy instructions,

Overrides:
cloneForInlining in class GuardInstr


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