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
 void clear()
           
 int depth()
           
 byte peek()
           
 byte pop()
           
 void pop(int n)
           
 void push(byte v)
           
 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

public TypeStack(int depth,
                 byte defv)

TypeStack

public TypeStack(TypeStack other)
Method Detail

push

public void push(byte v)

pop

public byte pop()

pop

public void pop(int n)

peek

public byte peek()

snapshot

public byte[] snapshot()

clear

public void clear()

depth

public int depth()