public class TABLESWITCH extends Select
SWITCH,
Serialized Formfixed_length, indices, match, match_length, padding, targetsindex, position, targetlength, opcode| Constructor and Description |
|---|
TABLESWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
void |
dump(DataOutputStream out)
Dump instruction as byte code to stream out.
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide)
Read needed data (e.g. index) from file.
|
containsTarget, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTargetgetIndex, getTarget, getTargetOffset, getTargetOffset, setTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitproduceStackpublic TABLESWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target)
match - sorted array of match values, match[0] must be low value,
match[match_length - 1] high valuetargets - where to branch for matched valuestarget - default branchpublic void dump(DataOutputStream out) throws IOException
dump in class Selectout - Output streamIOExceptionprotected void initFromFile(ByteSequence bytes, boolean wide) throws IOException
initFromFile in class Selectbytes - input streamwide - wide prefix?IOExceptionInstructionListpublic void accept(Visitor v)
accept in class Instructionv - Visitor objectCopyright © 2018–2021 mhoffrogge. All rights reserved.