|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.bc2ir.OperandStack
final class OperandStack
Simulated Operand Stack
Field Summary | |
---|---|
private Operand[] |
stack
|
private int |
top
|
Constructor Summary | |
---|---|
OperandStack(int size)
|
Method Summary | |
---|---|
(package private) void |
clear()
|
(package private) OperandStack |
copy()
|
(package private) int |
getCapacity()
|
(package private) Operand |
getFromTop(int n)
|
(package private) int |
getSize()
|
(package private) boolean |
isEmpty()
|
(package private) Operand |
peek(int depth)
|
(package private) Operand |
peekAt(int pos)
|
(package private) Operand |
pop()
|
(package private) void |
pop2()
|
(package private) void |
push(Operand val)
|
(package private) void |
replaceFromTop(int n,
Operand op)
|
(package private) void |
swap()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Operand[] stack
private int top
Constructor Detail |
---|
OperandStack(int size)
Method Detail |
---|
OperandStack copy()
void clear()
void push(Operand val)
Operand pop()
Operand peek(int depth)
Operand peekAt(int pos)
void pop2()
void swap()
boolean isEmpty()
int getSize()
int getCapacity()
Operand getFromTop(int n)
void replaceFromTop(int n, Operand op)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |