public interface IInstruction
Modifier and Type | Interface and Description |
---|---|
static class |
IInstruction.Visitor
This class is used by IInstruction.visit to dispatch based on the instruction type.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getBranchTargets() |
int |
getPoppedCount() |
String |
getPushedType(String[] poppedTypesToCheck)
Computes the type of data pushed onto the stack, or null if none is pushed.
|
byte |
getPushedWordSize() |
boolean |
isFallThrough() |
boolean |
isPEI()
PEI == "Potentially excepting instruction"
|
IInstruction |
redirectTargets(int[] targetMap) |
String |
toString()
Subclasses must implement toString.
|
void |
visit(IInstruction.Visitor v)
Apply a Visitor to this instruction.
|
boolean isFallThrough()
int[] getBranchTargets()
IInstruction redirectTargets(int[] targetMap)
int getPoppedCount()
String getPushedType(String[] poppedTypesToCheck)
poppedTypesToCheck
- the types of the data popped off the stack by this instruction; if poppedTypes is null, then we don't
know the incoming stack types and the result of this method may be less accuratebyte getPushedWordSize()
void visit(IInstruction.Visitor v)
boolean isPEI()