public class TABLESWITCH extends Select
SWITCHfixed_length, indices, match, match_length, padding, targetsindex, position, targetlength, opcode| Constructor and Description |
|---|
TABLESWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle defaultTarget) |
| 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.
|
clone, containsTarget, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTargetgetIndex, getPosition, getTarget, getTargetOffset, getTargetOffset, setIndex, setPosition, setTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitconsumeStackproduceStackpublic 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 accept(Visitor v)
accept in class Instructionv - Visitor objectpublic 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?IOException - may be thrown if the implementation needs to read data from the fileInstructionListCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.