org.jruby.compiler.ir.instructions
Class DECLARE_LOCAL_TYPE_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.DECLARE_LOCAL_TYPE_Instr

public class DECLARE_LOCAL_TYPE_Instr
extends NoOperandInstr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.Instr
operation, result
 
Constructor Summary
DECLARE_LOCAL_TYPE_Instr(int index, java.lang.String type)
           
 
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,
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DECLARE_LOCAL_TYPE_Instr

public DECLARE_LOCAL_TYPE_Instr(int index,
                                java.lang.String type)
Method Detail

toString

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

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,

Specified by:
cloneForInlining in class Instr


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