class CLBranchStack extends Object
Constructor and Description |
---|
CLBranchStack()
Construct a CLBranchStack object.
|
Modifier and Type | Method and Description |
---|---|
CLBranchTarget |
pop()
Pop and return an element from the stack.
|
void |
push(CLInstruction target,
int stackDepth)
Push the specified information into the stack as a CLBranchTarget
instance if the target has not been visited yet.
|
public void push(CLInstruction target, int stackDepth)
target
- the target instruction.stackDepth
- depth of stack before the target instruction is executed.public CLBranchTarget pop()