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 InstructionList getInstructionList()
getInstructionList
in interface CompoundInstruction
public Instruction getInstruction()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.