com.sun.tools.javac.jvm
Class Code.Chain

java.lang.Object
  extended by com.sun.tools.javac.jvm.Code.Chain
Enclosing class:
Code

public static class Code.Chain
extends java.lang.Object

A chain represents a list of unresolved jumps. Jump locations are sorted in decreasing order.


Field Summary
 Code.Chain next
          The next jump in the list.
 int pc
          The position of the jump instruction.
(package private)  Code.State state
          The machine state after the jump instruction.
 
Constructor Summary
Code.Chain(int pc, Code.Chain next, Code.State state)
          Construct a chain from its jump position, stacksize, previous chain, and machine state.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pc

public final int pc
The position of the jump instruction.


state

Code.State state
The machine state after the jump instruction. Invariant: all elements of a chain list have the same stacksize and compatible stack and register contents.


next

public final Code.Chain next
The next jump in the list.

Constructor Detail

Code.Chain

public Code.Chain(int pc,
                  Code.Chain next,
                  Code.State state)
Construct a chain from its jump position, stacksize, previous chain, and machine state.