org.apache.xalan.xsltc.compiler.util
Class OutlineableChunkStart

java.lang.Object
  extended by Instruction
      extended by org.apache.xalan.xsltc.compiler.util.MarkerInstruction
          extended by org.apache.xalan.xsltc.compiler.util.OutlineableChunkStart

 class OutlineableChunkStart
extends MarkerInstruction

This pseudo-instruction marks the beginning of a region of byte code that can be copied into a new method, termed an "outlineable" chunk. The size of the Java stack must be the same at the start of the region as it is at the end of the region, any value on the stack at the start of the region must not be consumed by an instruction in the region of code, the region must not contain a return instruction, no branch instruction in the region is permitted to have a target that is outside the region, and no branch instruction outside the region is permitted to have a target that is inside the region.

The end of the region is marked by an OutlineableChunkEnd pseudo-instruction.

Such a region of code may contain other outlineable regions.


Field Summary
static Instruction OUTLINEABLECHUNKSTART
          A constant instance of OutlineableChunkStart.
 
Constructor Summary
private OutlineableChunkStart()
          Private default constructor.
 
Method Summary
 java.lang.String getName()
          Get the name of this instruction.
 java.lang.String toString()
          Get the name of this instruction.
 java.lang.String toString(boolean verbose)
          Get the name of this instruction.
 
Methods inherited from class org.apache.xalan.xsltc.compiler.util.MarkerInstruction
accept, consumeStack, copy, dump, produceStack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OUTLINEABLECHUNKSTART

public static final Instruction OUTLINEABLECHUNKSTART
A constant instance of OutlineableChunkStart. As it has no fields, there should be no need to create an instance of this class.

Constructor Detail

OutlineableChunkStart

private OutlineableChunkStart()
Private default constructor. As it has no fields, there should be no need to create an instance of this class. See OUTLINEABLECHUNKSTART.

Method Detail

getName

public java.lang.String getName()
Get the name of this instruction. Used for debugging.

Returns:
the instruction name

toString

public java.lang.String toString()
Get the name of this instruction. Used for debugging.

Returns:
the instruction name

toString

public java.lang.String toString(boolean verbose)
Get the name of this instruction. Used for debugging.

Returns:
the instruction name