java.io.Serializable, java.lang.Cloneable, InstructionTargeter, StackProducer, VariableLengthInstructionpublic class TABLESWITCH extends Select
SWITCH,
Serialized Formindex, position, targetlength, opcodefixed_length, indices, match, match_length, padding, targets| Constructor | Description |
|---|---|
TABLESWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle defaultTarget) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out) |
Dump instruction as byte code to stream out.
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide) |
Read needed data (e.g.
|
getIndex, getTarget, getTargetOffset, getTargetOffset, setTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, containsTarget, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTargetproduceStackpublic TABLESWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle defaultTarget)
match - sorted array of match values, match[0] must be low value,
match[match_length - 1] high valuetargets - where to branch for matched valuesdefaultTarget - default branchpublic void dump(java.io.DataOutputStream out)
throws java.io.IOException
protected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile in class Selectbytes - input streamwide - wide prefix?java.io.IOExceptionInstructionListpublic void accept(Visitor v)
accept in class Instructionv - Visitor object