org.jikesrvm.osr
Class TypeStack
java.lang.Object
org.jikesrvm.osr.TypeStack
class TypeStack
- extends Object
Utility class used by BytecodeTraverser.
Field Summary |
private byte |
defv
|
private byte[] |
stack
|
private int |
top
|
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 |
stack
private final byte[] stack
top
private int top
defv
private final byte defv
TypeStack
TypeStack(int depth,
byte defv)
TypeStack
TypeStack(TypeStack other)
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()