| Modifier and Type | Field and Description |
|---|---|
| private final Label | |
| private final Class | |
| private final Operand[] | |
| private final int[] | |
| private Operand | |
| private final Label | |
| private final Label[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Instr | clone(CloneInfo
This object manages renaming of variables and labels, handles
args and return values. info)Implements abstract org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). |
| public static BSwitchInstr | |
| public void | |
| public Operand | |
| public Label | |
| public Class | |
| public int[] | |
| public Label[] | |
| public Operand[] | |
| public Label | |
| public Label[] | |
| public int | interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc)
Overrides org.
|
| private static boolean | |
| public void | |
| public void |
| elseTarget | back to summary |
|---|---|
| private final Label elseTarget | |
| expectedClass | back to summary |
|---|---|
| private final Class<T> expectedClass | |
| jumpOperands | back to summary |
|---|---|
| private final Operand[] jumpOperands | |
| jumps | back to summary |
|---|---|
| private final int[] jumps | |
| operand | back to summary |
|---|---|
| private Operand operand | |
| rubyCase | back to summary |
|---|---|
| private final Label rubyCase | |
| targets | back to summary |
|---|---|
| private final Label[] targets | |
| BSwitchInstr | back to summary |
|---|---|
| public BSwitchInstr(int[] jumps, Operand[] jumpOperands, Operand operand, Label rubyCase, Label[] targets, Label elseTarget, Class<T> expectedClass) | |
| clone | back to summary |
|---|---|
| public Instr clone(CloneInfo info) Implements abstract org. Doc from org. Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. | |
| decode | back to summary |
|---|---|
| public static BSwitchInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getCaseOperand | back to summary |
|---|---|
| public Operand getCaseOperand() | |
| getElseTarget | back to summary |
|---|---|
| public Label getElseTarget() | |
| getExpectedClass | back to summary |
|---|---|
| public Class | |
| getJumps | back to summary |
|---|---|
| public int[] getJumps() | |
| getJumpTargets | back to summary |
|---|---|
| public Label[] getJumpTargets() Implements abstract org.
| |
| getOperands | back to summary |
|---|---|
| public Operand[] getOperands() Implements abstract org.
| |
| getRubyCaseLabel | back to summary |
|---|---|
| public Label getRubyCaseLabel() | |
| getTargets | back to summary |
|---|---|
| public Label[] getTargets() | |
| interpretAndGetNewIPC | back to summary |
|---|---|
| public int interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) Overrides org.
| |
| jumpsAreSorted | back to summary |
|---|---|
| private static boolean jumpsAreSorted(final int[] jumps) | |
| setOperand | back to summary |
|---|---|
| public void setOperand(int i, Operand operand) Implements abstract org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |