org.jikesrvm.compilers.opt.ssa
Class LeaveSSA.VariableStacks
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Register,Stack<Operand>>
org.jikesrvm.compilers.opt.ssa.LeaveSSA.VariableStacks
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Register,Stack<Operand>>
- Enclosing class:
- LeaveSSA
static final class LeaveSSA.VariableStacks
- extends HashMap<Register,Stack<Operand>>
This class provides an abstraction over stacks of names
for registers.
Field Summary |
(package private) static long |
serialVersionUID
Support for map serialization |
Method Summary |
(package private) Operand |
peek(Register s)
Get the name at the top of the stack for a particular register |
(package private) Operand |
pop(Register s)
Pop the name at the top of the stack for a particular register |
(package private) void |
push(Register s,
Operand name)
Push a name at the top of the stack for a particular register |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
serialVersionUID
static final long serialVersionUID
- Support for map serialization
- See Also:
- Constant Field Values
LeaveSSA.VariableStacks
LeaveSSA.VariableStacks()
peek
Operand peek(Register s)
- Get the name at the top of the stack for a particular register
- Parameters:
s
- the register in question
- Returns:
- the name at the top of the stack for the register
pop
Operand pop(Register s)
- Pop the name at the top of the stack for a particular register
- Parameters:
s
- the register in question
- Returns:
- the name at the top of the stack for the register
push
void push(Register s,
Operand name)
- Push a name at the top of the stack for a particular register
- Parameters:
s
- the register in questionname
- the name to push on the stack