public abstract class SpillMoveFactoryBase extends Object implements LIRGeneratorTool.SpillMoveFactory
LIRGeneratorTool.SpillMoveFactory
that checks that the instructions created adhere to the
contract of LIRGeneratorTool.SpillMoveFactory
.Modifier and Type | Class and Description |
---|---|
private static class |
SpillMoveFactoryBase.CheckClosure
|
Constructor and Description |
---|
SpillMoveFactoryBase() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
checkResult(LIRInstruction inst,
jdk.internal.jvmci.meta.AllocatableValue result,
jdk.internal.jvmci.meta.Value input)
Checks that the instructions adheres to the contract of
LIRGeneratorTool.SpillMoveFactory . |
LIRInstruction |
createMove(jdk.internal.jvmci.meta.AllocatableValue result,
jdk.internal.jvmci.meta.Value input) |
protected abstract LIRInstruction |
createMoveIntern(jdk.internal.jvmci.meta.AllocatableValue result,
jdk.internal.jvmci.meta.Value input) |
LIRInstruction |
createStackMove(jdk.internal.jvmci.meta.AllocatableValue result,
jdk.internal.jvmci.meta.Value input) |
protected LIRInstruction |
createStackMoveIntern(jdk.internal.jvmci.meta.AllocatableValue result,
jdk.internal.jvmci.meta.Value input) |
public SpillMoveFactoryBase()
public final LIRInstruction createMove(jdk.internal.jvmci.meta.AllocatableValue result, jdk.internal.jvmci.meta.Value input)
createMove
in interface LIRGeneratorTool.SpillMoveFactory
public final LIRInstruction createStackMove(jdk.internal.jvmci.meta.AllocatableValue result, jdk.internal.jvmci.meta.Value input)
createStackMove
in interface LIRGeneratorTool.SpillMoveFactory
protected abstract LIRInstruction createMoveIntern(jdk.internal.jvmci.meta.AllocatableValue result, jdk.internal.jvmci.meta.Value input)
protected LIRInstruction createStackMoveIntern(jdk.internal.jvmci.meta.AllocatableValue result, jdk.internal.jvmci.meta.Value input)
private static boolean checkResult(LIRInstruction inst, jdk.internal.jvmci.meta.AllocatableValue result, jdk.internal.jvmci.meta.Value input)
LIRGeneratorTool.SpillMoveFactory
.