public class AArch64ControlFlow.StrategySwitchOp.SwitchClosure extends SwitchStrategy.BaseSwitchClosure
| Modifier and Type | Field and Description |
|---|---|
protected CompilationResultBuilder |
crb |
protected Register |
keyRegister |
protected AArch64MacroAssembler |
masm |
| Modifier | Constructor and Description |
|---|---|
protected |
SwitchClosure(Register keyRegister,
CompilationResultBuilder crb,
AArch64MacroAssembler masm) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
conditionalJump(int index,
Condition condition,
Label target)
This method generates code for a comparison between the actual value and the constant at
the given index and a condition jump to target.
|
protected void |
emitComparison(Constant c) |
bind, conditionalJump, conditionalJump, conditionalJumpOrDefault, isSameTargetprotected final Register keyRegister
protected final CompilationResultBuilder crb
protected final AArch64MacroAssembler masm
protected SwitchClosure(Register keyRegister,
CompilationResultBuilder crb,
AArch64MacroAssembler masm)
protected void emitComparison(Constant c)
protected void conditionalJump(int index,
Condition condition,
Label target)
SwitchStrategy.BaseSwitchClosureconditionalJump in class SwitchStrategy.BaseSwitchClosure