Package jminusminus
Class CLBranchStack
java.lang.Object
jminusminus.CLBranchStack
This class is used for control flow analysis to compute maximum depth of operand stack for a
 method.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionpop()Pops and returns an element from the stack, or null.voidpush(CLInstruction target, int stackDepth) Pushes the specified information into the stack as a CLBranchTarget instance if the target has not been visited yet.
- 
Constructor Details- 
CLBranchStackpublic CLBranchStack()Constructs a CLBranchStack object.
 
- 
- 
Method Details- 
pushPushes the specified information into the stack as a CLBranchTarget instance if the target has not been visited yet.- Parameters:
- target- the target instruction.
- stackDepth- depth of stack before the target instruction is executed.
 
- 
popPops and returns an element from the stack, or null.- Returns:
- an element from the stack, or null.
 
 
-