private static class ConstantStackCastTest.LoadConstantStackSpec extends LIRTestSpecification
Modifier and Type | Field and Description |
---|---|
protected LIRKind |
dstKind |
protected LIRKind |
srcKind |
Constructor and Description |
---|
LoadConstantStackSpec(LIRKind dstKind,
LIRKind srcKind) |
Modifier and Type | Method and Description |
---|---|
void |
generate(LIRGeneratorTool gen,
Value value) |
private static PrimitiveConstant |
getConstant(LIRKind srcKind,
Value value) |
public LoadConstantStackSpec(LIRKind dstKind, LIRKind srcKind)
public void generate(LIRGeneratorTool gen, Value value)
generate
in class LIRTestSpecification
private static PrimitiveConstant getConstant(LIRKind srcKind, Value value)