|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstructionContext
An InstructionContext offers convenient access to information like control flow successors and such.
Method Summary | |
---|---|
boolean |
execute(Frame inFrame,
ArrayList executionPredecessors,
InstConstraintVisitor icv,
ExecutionVisitor ev)
This method symbolically executes the Instruction held in the InstructionContext. |
ExceptionHandler[] |
getExceptionHandlers()
Returns the exception handlers that protect this instruction. |
Frame |
getInFrame()
|
InstructionHandle |
getInstruction()
Returns the InstructionHandle this InstructionContext is wrapped around. |
Frame |
getOutFrame(ArrayList executionPredecessors)
This method returns the outgoing execution frame situation; therefore it has to be calculated by execute(Frame, ArrayList) first. |
InstructionContext[] |
getSuccessors()
Returns the usual control flow successors. |
int |
getTag()
The getTag and setTag methods may be used for temporary flagging, such as graph colouring. |
void |
setTag(int tag)
The getTag and setTag methods may be used for temporary flagging, such as graph colouring. |
Method Detail |
---|
int getTag()
setTag(int tag)
void setTag(int tag)
getTag()
boolean execute(Frame inFrame, ArrayList executionPredecessors, InstConstraintVisitor icv, ExecutionVisitor ev)
ControlFlowGraph
,
ExecutionVisitor
,
getOutFrame(ArrayList)
Frame getInFrame()
Frame getOutFrame(ArrayList executionPredecessors)
execute(Frame, ArrayList, InstConstraintVisitor, ExecutionVisitor)
InstructionHandle getInstruction()
InstructionContext[] getSuccessors()
getExceptionHandlers()
ExceptionHandler[] getExceptionHandlers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |