org.jikesrvm.osr
Class TypeStack

java.lang.Object
  extended by org.jikesrvm.osr.TypeStack

 class TypeStack
extends Object

Utility class used by BytecodeTraverser.


Field Summary
private  byte defv
           
private  byte[] stack
           
private  int top
           
 
Constructor Summary
TypeStack(int depth, byte defv)
           
TypeStack(TypeStack other)
           
 
Method Summary
(package private)  void clear()
           
(package private)  int depth()
           
(package private)  byte peek()
           
(package private)  byte pop()
           
(package private)  void pop(int n)
           
(package private)  void push(byte v)
           
(package private)  byte[] snapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private final byte[] stack

top

private int top

defv

private final byte defv
Constructor Detail

TypeStack

TypeStack(int depth,
          byte defv)

TypeStack

TypeStack(TypeStack other)
Method Detail

push

void push(byte v)

pop

byte pop()

pop

void pop(int n)

peek

byte peek()

snapshot

byte[] snapshot()

clear

void clear()

depth

int depth()