com.sun.tools.javac.jvm
Class Gen.GenContext

java.lang.Object
  extended by com.sun.tools.javac.jvm.Gen.GenContext
Enclosing class:
Gen

static class Gen.GenContext
extends java.lang.Object

code generation contexts, to be used as type parameter for environments.


Field Summary
(package private)  Code.Chain cont
          A chain for all unresolved jumps that continue in the current environment.
(package private)  Code.Chain exit
          A chain for all unresolved jumps that exit the current environment.
(package private)  Gen.GenFinalizer finalize
          A closure that generates the finalizer of the current environment.
(package private)  ListBuffer<java.lang.Integer> gaps
          A list buffer containing all gaps in the finalizer range, where a catch all exception should not apply.
(package private)  boolean isSwitch
          Is this a switch statement? If so, allocate registers even when the variable declaration is unreachable.
 
Constructor Summary
Gen.GenContext()
           
 
Method Summary
(package private)  void addCont(Code.Chain c)
          Add given chain to cont chain.
(package private)  void addExit(Code.Chain c)
          Add given chain to exit chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exit

Code.Chain exit
A chain for all unresolved jumps that exit the current environment.


cont

Code.Chain cont
A chain for all unresolved jumps that continue in the current environment.


finalize

Gen.GenFinalizer finalize
A closure that generates the finalizer of the current environment. Only set for Synchronized and Try contexts.


isSwitch

boolean isSwitch
Is this a switch statement? If so, allocate registers even when the variable declaration is unreachable.


gaps

ListBuffer<java.lang.Integer> gaps
A list buffer containing all gaps in the finalizer range, where a catch all exception should not apply.

Constructor Detail

Gen.GenContext

Gen.GenContext()
Method Detail

addExit

void addExit(Code.Chain c)
Add given chain to exit chain.


addCont

void addCont(Code.Chain c)
Add given chain to cont chain.