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

java.lang.Object
  extended by com.sun.tools.javac.jvm.Code.State
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Code

 class Code.State
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
(package private)  Bits defined
          The set of registers containing values.
(package private)  int[] locks
          The numbers of registers containing locked monitors.
(package private)  int nlocks
           
(package private)  Type[] stack
          The (types of the) contents of the machine stack.
(package private)  int stacksize
          The first stack position currently unused.
 
Constructor Summary
Code.State()
           
 
Method Summary
(package private)  void dump()
           
(package private)  void dump(int pc)
           
(package private)  Code.State dup()
           
(package private)  Type error()
           
(package private)  void forceStackTop(Type t)
          Force the top of the stack to be treated as this supertype of its current type.
(package private)  Code.State join(Code.State other)
           
(package private)  void lock(int register)
           
(package private)  void markInitialized(UninitializedType old)
           
(package private)  Type peek()
           
(package private)  void pop(int n)
           
(package private)  void pop(Type t)
           
(package private)  Type pop1()
           
(package private)  Type pop2()
           
(package private)  void push(Type t)
           
(package private)  void unlock(int register)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defined

Bits defined
The set of registers containing values.


stack

Type[] stack
The (types of the) contents of the machine stack.


stacksize

int stacksize
The first stack position currently unused.


locks

int[] locks
The numbers of registers containing locked monitors.


nlocks

int nlocks
Constructor Detail

Code.State

Code.State()
Method Detail

dup

Code.State dup()

lock

void lock(int register)

unlock

void unlock(int register)

push

void push(Type t)

pop1

Type pop1()

peek

Type peek()

pop2

Type pop2()

pop

void pop(int n)

pop

void pop(Type t)

forceStackTop

void forceStackTop(Type t)
Force the top of the stack to be treated as this supertype of its current type.


markInitialized

void markInitialized(UninitializedType old)

join

Code.State join(Code.State other)

error

Type error()

dump

void dump()

dump

void dump(int pc)