org.jruby.compiler.ir.instructions
Class ExceptionRegionStartMarkerInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.Instr
      extended by org.jruby.compiler.ir.instructions.ExceptionRegionStartMarkerInstr

public class ExceptionRegionStartMarkerInstr
extends Instr


Field Summary
 Label _begin
           
 Label _end
           
 java.util.List<Label> _rescueBlockLabels
           
 
Fields inherited from class org.jruby.compiler.ir.instructions.Instr
operation, result
 
Constructor Summary
ExceptionRegionStartMarkerInstr(Label rBegin, Label rEnd, java.util.List<Label> rbLabels)
           
 
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,
 Operand[] getOperands()
           
 void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
          This method takes as input a map of operands to their values, and outputs If the value map provides a value for any of the instruction's operands this method is expected to replace the original operands with the simplified values.
 java.lang.String toString()
           
 
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
 

Field Detail

_begin

public final Label _begin

_end

public final Label _end

_rescueBlockLabels

public final java.util.List<Label> _rescueBlockLabels
Constructor Detail

ExceptionRegionStartMarkerInstr

public ExceptionRegionStartMarkerInstr(Label rBegin,
                                       Label rEnd,
                                       java.util.List<Label> rbLabels)
Method Detail

toString

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

getOperands

public Operand[] getOperands()
Specified by:
getOperands in class Instr

simplifyOperands

public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
Description copied from class: Instr
This method takes as input a map of operands to their values, and outputs If the value map provides a value for any of the instruction's operands this method is expected to replace the original operands with the simplified values. It is not required that it do so -- code correctness is not compromised by failure to simplify

Specified by:
simplifyOperands 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.