public final class SWITCH extends Object implements CompoundInstruction
| Constructor and Description |
|---|
SWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target) |
SWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target,
int max_gap)
Template for switch() constructs.
|
| Modifier and Type | Method and Description |
|---|---|
Instruction |
getInstruction() |
InstructionList |
getInstructionList() |
public SWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target,
int max_gap)
match - array of match values (case 2: ... case 7: ..., etc.)targets - the instructions to be branched to for each casetarget - the default targetmax_gap - maximum gap that may between case branchespublic SWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle target)
public final InstructionList getInstructionList()
getInstructionList in interface CompoundInstructionpublic final Instruction getInstruction()
Copyright © 2018–2021 mhoffrogge. All rights reserved.